Mercurial > libavcodec.hg
diff avcodec.h @ 6011:b1fe945d73f9 libavcodec
av_*_next() API for libavcodec
author | michael |
---|---|
date | Wed, 12 Dec 2007 18:40:11 +0000 |
parents | 5a8ca3d8ca7d |
children | e0e55a5a74c0 |
line wrap: on
line diff
--- a/avcodec.h Wed Dec 12 11:52:27 2007 +0000 +++ b/avcodec.h Wed Dec 12 18:40:11 2007 +0000 @@ -33,8 +33,8 @@ #define AV_STRINGIFY(s) AV_TOSTRING(s) #define AV_TOSTRING(s) #s -#define LIBAVCODEC_VERSION_INT ((51<<16)+(48<<8)+0) -#define LIBAVCODEC_VERSION 51.48.0 +#define LIBAVCODEC_VERSION_INT ((51<<16)+(49<<8)+0) +#define LIBAVCODEC_VERSION 51.49.0 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) @@ -2428,7 +2428,10 @@ /* external high level API */ +#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) extern AVCodec *first_avcodec; +#endif +AVCodec *av_codec_next(AVCodec *c); /* returns LIBAVCODEC_VERSION_INT constant */ unsigned avcodec_version(void); @@ -2784,7 +2787,10 @@ struct AVCodecParser *next; } AVCodecParser; +#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) extern AVCodecParser *av_first_parser; +#endif +AVCodecParser *av_parser_next(AVCodecParser *c); void av_register_codec_parser(AVCodecParser *parser); AVCodecParserContext *av_parser_init(int codec_id); @@ -2827,7 +2833,7 @@ const uint8_t *buf, int buf_size, int keyframe); void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); -extern AVBitStreamFilter *first_bitstream_filter; +AVBitStreamFilter *av_bitstream_filter_next(AVBitStreamFilter *f); /* memory */