From 61138c43e08b7bb039fbcf50f1e71d6e735e04a5 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 6 Oct 2010 21:43:46 +0000 Subject: properly check for FF_API_MAX_STREAMS instead of LIBAVFORMAT_VERSION_MAJOR Originally committed as revision 25382 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/avformat.h') 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; -- cgit v1.2.3