summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-21 11:37:33 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-22 20:22:42 +0200
commit35c858066840352d6d43385bbc728467c5150974 (patch)
treeb7aef06bb8f03bc3ee9f89ae26771c5a3b72164b /avconv.h
parent3399a26d3f57d462e839c0ee51223ae9aca20852 (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
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