From 35c858066840352d6d43385bbc728467c5150974 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 21 May 2016 11:37:33 +0200 Subject: avconv: stop using AVStream.codec It is now only used by the av_parser_change() call during streamcopy, so allocate a special AVCodecContext instance for this case. This instance should go away when the new parser API is finished. Signed-off-by: Diego Biurrun --- avconv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'avconv.h') diff --git a/avconv.h b/avconv.h index 05abae6865..84fabf6371 100644 --- a/avconv.h +++ b/avconv.h @@ -372,6 +372,7 @@ typedef struct OutputStream { enum AVPixelFormat pix_fmts[2]; AVCodecParserContext *parser; + AVCodecContext *parser_avctx; /* stats */ // combined size of all the packets written -- cgit v1.2.3