[video] Fix compatibility with upcoming ffmpeg-2.0