diff options
author | Nico Sabbi <nicola.sabbi@poste.it> | 2007-10-20 08:25:13 +0000 |
---|---|---|
committer | Nico Sabbi <nicola.sabbi@poste.it> | 2007-10-20 08:25:13 +0000 |
commit | 526efa105349fbae87b0d0afcd9825575524e985 (patch) | |
tree | a9089b4f81b7c9f2f30b5bfa9188cc88343ac21d /libavformat/avformat.h | |
parent | fad0e03043ea1fa1f8ad5608bce5e4b6c933dfa3 (diff) | |
download | ffmpeg-526efa105349fbae87b0d0afcd9825575524e985.tar.gz |
API extension: AVProgram now has an array (stream_index) containing the indexes of the streams in AVFormatContext
Originally committed as revision 10819 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index dbbb9b48c3..2897188f0f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -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 @@ typedef struct AVProgram { 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 |