lavc: add stream-global packet side data

This is similar to what is done for AVStream.
This commit is contained in:
Anton Khirnov
2015-07-22 14:39:30 +02:00
parent 31c51f7441
commit 84adab333c
3 changed files with 20 additions and 2 deletions

View File

@@ -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;
/**