Drop use of deprecated APIs.
Use correct colorspace in libswscale.