Mercurial > libavformat.hg
diff avformat.h @ 2650:4e3d38c8896c libavformat
API extension: AVProgram now has an array (stream_index) containing the indexes of the streams in AVFormatContext
author | nicodvb |
---|---|
date | Sat, 20 Oct 2007 08:25:13 +0000 |
parents | 792383dd085e |
children | 2d3a902acf89 |
line wrap: on
line diff
--- a/avformat.h Sat Oct 20 08:17:01 2007 +0000 +++ b/avformat.h Sat Oct 20 08:25:13 2007 +0000 @@ -21,8 +21,8 @@ #ifndef FFMPEG_AVFORMAT_H #define FFMPEG_AVFORMAT_H -#define LIBAVFORMAT_VERSION_INT ((51<<16)+(15<<8)+0) -#define LIBAVFORMAT_VERSION 51.15.0 +#define LIBAVFORMAT_VERSION_INT ((51<<16)+(16<<8)+0) +#define LIBAVFORMAT_VERSION 51.16.0 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) @@ -353,6 +353,8 @@ char *name; ///< Service name for DVB streams int flags; enum AVDiscard discard; ///< selects which program to discard and which to feed to the caller + unsigned int *stream_index; + unsigned int nb_stream_indexes; } AVProgram; #define AVFMTCTX_NOHEADER 0x0001 /**< signal that no header is present