Schedule an increase in the maximum number of streams

at next libavformat major version bump.

Originally committed as revision 21484 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jai Menon 2010-01-27 19:13:35 +00:00
parent 60402344af
commit ad5cc780c0
1 changed files with 4 additions and 0 deletions

View File

@ -520,7 +520,11 @@ typedef struct AVChapter {
AVMetadata *metadata;
} AVChapter;
#if LIBAVFORMAT_VERSION_MAJOR < 53
#define MAX_STREAMS 20
#else
#define MAX_STREAMS 100
#endif
/**
* Format I/O context.