swscaler warning : deprecated pixel format used
I want to perform a color space conversion of my video frame before converting it to an opengl texture with the following code: struct SwsContext * pSwsCtx = sws_getCachedContext(NULL,width, height, codec->pix_fmt, width, height, AV_PIX_FMT_RGBA, SWS_POINT, NULL, NULL, NULL); Each time the sws_getCachedContext() function is called I got the following warning: [swscaler @ 0x10506fa00] deprecated pixel format used, make sure you did set range correctly Here is my ffmpeg output for version information: ffmpeg version 2.2 Copyright (c) 2000-2014 the FFmpeg developers built on Mar 26 2014 15:29:01