|
|
|
@@ -1067,6 +1067,12 @@ enum AVPacketSideDataType { |
|
|
|
AV_PKT_DATA_METADATA_UPDATE, |
|
|
|
}; |
|
|
|
|
|
|
|
typedef struct AVPacketSideData { |
|
|
|
uint8_t *data; |
|
|
|
int size; |
|
|
|
enum AVPacketSideDataType type; |
|
|
|
} AVPacketSideData; |
|
|
|
|
|
|
|
/** |
|
|
|
* This structure stores compressed data. It is typically exported by demuxers |
|
|
|
* and then passed as input to decoders, or received as output from encoders and |
|
|
|
@@ -1123,11 +1129,7 @@ typedef struct AVPacket { |
|
|
|
* Additional packet data that can be provided by the container. |
|
|
|
* Packet can contain several types of side information. |
|
|
|
*/ |
|
|
|
struct { |
|
|
|
uint8_t *data; |
|
|
|
int size; |
|
|
|
enum AVPacketSideDataType type; |
|
|
|
} *side_data; |
|
|
|
AVPacketSideData *side_data; |
|
|
|
int side_data_elems; |
|
|
|
|
|
|
|
/** |
|
|
|
|