diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-07-22 14:39:30 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-12-06 10:22:43 +0100 |
commit | 84adab333cddeefc3cfd843089dee23f58bd372c (patch) | |
tree | cb4f38148747f6f6490e301301d50b4ceda2bdca /libavcodec/avcodec.h | |
parent | 31c51f7441de07b88cfea2550245bf1f5140cb8f (diff) |
lavc: add stream-global packet side data
This is similar to what is done for AVStream.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5ed13de81c..80cf644aef 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2925,6 +2925,16 @@ typedef struct AVCodecContext { * - decoding: Set by libavcodec before calling get_format() */ enum AVPixelFormat sw_pix_fmt; + + /** + * Additional data associated with the entire coded stream. + * + * - decoding: unused + * - encoding: may be set by libavcodec after avcodec_open2(). + */ + AVPacketSideData *coded_side_data; + int nb_coded_side_data; + } AVCodecContext; /** |