Fix swscaler warning : "deprecated pixel format used, make sure you did set range correctly"

only apply this fix on FFmpeg >= 2.2.4