diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-14 00:50:50 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-14 00:50:50 +0200 |
commit | 10012fa961a144f219a0220f03af45785f0a5332 (patch) | |
tree | ebcd4ee27ea063fea456b1e4b402d57330fcef0a /ffmpeg.c | |
parent | 0a7ad6bf51222ca1ec2c19b1ddbf36ef869810ec (diff) | |
download | ffmpeg-10012fa961a144f219a0220f03af45785f0a5332.tar.gz |
ffmpeg: Fix bitstream filters manipulating AVCodecContext
Fixes Ticket3715
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) || |