properly check for FF_API_MAX_STREAMS instead of LIBAVFORMAT_VERSION_MAJOR
Originally committed as revision 25382 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user