Commit bd34e26b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '0e2c3ee9'

* commit '0e2c3ee9':
  lavc: give a typedeffed name to the AVPacket.side_data struct

Conflicts:
	doc/APIchanges
	libavcodec/version.h
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 9456a862 0e2c3ee9
...@@ -15,6 +15,10 @@ libavutil: 2012-10-22 ...@@ -15,6 +15,10 @@ libavutil: 2012-10-22
API changes, most recent first: 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-03-18 - 37c07d4 - lsws 2.5.102 2014-03-18 - 37c07d4 - lsws 2.5.102
Make gray16 full-scale. Make gray16 full-scale.
......
...@@ -1067,6 +1067,12 @@ enum AVPacketSideDataType { ...@@ -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 { ...@@ -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;
/** /**
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
#include "libavutil/version.h" #include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 55 #define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR 52 #define LIBAVCODEC_VERSION_MINOR 53
#define LIBAVCODEC_VERSION_MICRO 103 #define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MINOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment