add support for ffmpeg 1.1.3