irungentoo's fix for the av_codec_context bug