av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
#ifndef FFMPEG_AVFORMAT_H
|
||||
#define FFMPEG_AVFORMAT_H
|
||||
|
||||
#define LIBAVFORMAT_VERSION_INT ((52<<16)+(1<<8)+0)
|
||||
#define LIBAVFORMAT_VERSION 52.1.0
|
||||
#define LIBAVFORMAT_VERSION_INT ((52<<16)+(2<<8)+0)
|
||||
#define LIBAVFORMAT_VERSION 52.2.0
|
||||
#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
|
||||
|
||||
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
|
||||
@@ -452,8 +452,13 @@ typedef struct AVPacketList {
|
||||
struct AVPacketList *next;
|
||||
} AVPacketList;
|
||||
|
||||
#if LIBAVFORMAT_VERSION_INT < (53<<16)
|
||||
extern AVInputFormat *first_iformat;
|
||||
extern AVOutputFormat *first_oformat;
|
||||
#endif
|
||||
|
||||
AVInputFormat *av_iformat_next(AVInputFormat *f);
|
||||
AVOutputFormat *av_oformat_next(AVOutputFormat *f);
|
||||
|
||||
enum CodecID av_guess_image2_codec(const char *filename);
|
||||
|
||||
|
Reference in New Issue
Block a user