Commit 10012fa9 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: Fix bitstream filters manipulating AVCodecContext

Fixes Ticket3715
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0a7ad6bf
......@@ -575,7 +575,7 @@ static void close_all_output_streams(OutputStream *ost, OSTFinished this_stream,
static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost)
{
AVBitStreamFilterContext *bsfc = ost->bitstream_filters;
AVCodecContext *avctx = ost->enc_ctx;
AVCodecContext *avctx = ost->st->codec;
int ret;
if ((avctx->codec_type == AVMEDIA_TYPE_VIDEO && video_sync_method == VSYNC_DROP) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment