Fix build for FFmpeg 0.9