ffmpeg: Fix bitstream filters manipulating AVCodecContext