diff --git a/doc/APIchanges b/doc/APIchanges index 38d18bc826..cfa3068c6d 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,10 @@ libavutil: 2013-12-xx API changes, most recent first: +2014-02-xx - xxxxxxx - lavc 55.35.0 - avcodec.h + Give the name AVPacketSideData to the previously anonymous struct used for + AVPacket.side_data. + 2014-xx-xx - xxxxxxx - lavu 53.06.0 - pixfmt.h Add RGBA64 pixel format and variants. diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7beb2772d7..a870a2b9fb 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -925,6 +925,12 @@ enum AVPacketSideDataType { AV_PKT_DATA_H263_MB_INFO, }; +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 @@ -981,11 +987,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; /** diff --git a/libavcodec/version.h b/libavcodec/version.h index 5ab49d5cd9..d2f80ad442 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,8 +29,8 @@ #include "libavutil/version.h" #define LIBAVCODEC_VERSION_MAJOR 55 -#define LIBAVCODEC_VERSION_MINOR 34 -#define LIBAVCODEC_VERSION_MICRO 1 +#define LIBAVCODEC_VERSION_MINOR 35 +#define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \