FFmpeg is prone to an overflow condition. The sws_init_context() function in libswscale/utils.c fails to properly sanitize user-supplied input resulting in an integer overflow. The program does not properly decode certain scale data, allowing a remote attacker to potentially execute arbitrary code.