On Thu, 8 Aug 2013 11:48:51 +0200, Luca Barbato <[email protected]> wrote: > AVPacket is defined in avcodec.h and the structure doesn't have > a public api using it yet. > --- > libavcodec/avcodec.h | 5 +++++ > libavformat/avformat.h | 6 ------ > 2 files changed, 5 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index a84c013..f3a2ad6 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -972,6 +972,11 @@ typedef struct AVPacket { > #define AV_PKT_FLAG_KEY 0x0001 ///< The packet contains a keyframe > #define AV_PKT_FLAG_CORRUPT 0x0002 ///< The packet content is corrupted > > +typedef struct AVPacketList { > + AVPacket pkt; > + struct AVPacketList *next; > +} AVPacketList; > + > enum AVSideDataParamChangeFlags { > AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT = 0x0001, > AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT = 0x0002, > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > index 5d224c4..0f1e14a 100644 > --- a/libavformat/avformat.h > +++ b/libavformat/avformat.h > @@ -1042,12 +1042,6 @@ typedef struct AVFormatContext { > > } AVFormatContext; > > -typedef struct AVPacketList { > - AVPacket pkt; > - struct AVPacketList *next; > -} AVPacketList; > - > - > /** > * @defgroup lavf_core Core functions > * @ingroup libavf > -- > 1.8.3.2 >
Any reason not to merge this into 3/6? Also some basic docs (what is it for, how to allocate, how to free) would be nice -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
