[FFmpeg-cvslog] ffmpeg: Fix bitstream filters manipulating AVCodecContext
Michael Niedermayer
git at videolan.org
Sat Jun 14 01:09:40 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 14 00:50:50 2014 +0200| [10012fa961a144f219a0220f03af45785f0a5332] | committer: Michael Niedermayer
ffmpeg: Fix bitstream filters manipulating AVCodecContext
Fixes Ticket3715
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=10012fa961a144f219a0220f03af45785f0a5332
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 49e5596..14b4f21 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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) ||
More information about the ffmpeg-cvslog
mailing list