diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-06 21:43:46 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-06 21:43:46 +0000 |
commit | 61138c43e08b7bb039fbcf50f1e71d6e735e04a5 (patch) | |
tree | 3c305463ea61d6f36fb43da76d967e5a2e666f8e /libavformat/avformat.h | |
parent | 38aab35f47c3c7a559c3180568695c6ad21d62ac (diff) | |
download | ffmpeg-61138c43e08b7bb039fbcf50f1e71d6e735e04a5.tar.gz |
properly check for FF_API_MAX_STREAMS instead of LIBAVFORMAT_VERSION_MAJOR
Originally committed as revision 25382 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4a46a36789..b08f758d0f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -672,7 +672,7 @@ typedef struct AVFormatContext { void *priv_data; ByteIOContext *pb; unsigned int nb_streams; -#if LIBAVFORMAT_VERSION_MAJOR < 53 +#if FF_API_MAX_STREAMS AVStream *streams[MAX_STREAMS]; #else AVStream **streams; |