@ -1067,6 +1067,12 @@ enum AVPacketSideDataType {
AV_PKT_DATA_METADATA_UPDATE ,
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
* 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
* 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 .
* Additional packet data that can be provided by the container .
* Packet can contain several types of side information .
* Packet can contain several types of side information .
*/
*/
struct {
AVPacketSideData * side_data ;
uint8_t * data ;
int size ;
enum AVPacketSideDataType type ;
} * side_data ;
int side_data_elems ;
int side_data_elems ;
/**
/**