fix for ffmpeg version on ubuntu 12.04