compatibility with libs from ffmpeg 0.10.3