diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-21 11:37:33 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-22 20:22:42 +0200 |
commit | 35c858066840352d6d43385bbc728467c5150974 (patch) | |
tree | b7aef06bb8f03bc3ee9f89ae26771c5a3b72164b /avconv.h | |
parent | 3399a26d3f57d462e839c0ee51223ae9aca20852 (diff) | |
download | ffmpeg-streaming-35c858066840352d6d43385bbc728467c5150974.zip ffmpeg-streaming-35c858066840352d6d43385bbc728467c5150974.tar.gz |
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 <diego@biurrun.de>
Diffstat (limited to 'avconv.h')
-rw-r--r-- | avconv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |