summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-06 20:56:14 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-06 20:56:14 +0000
commit38aab35f47c3c7a559c3180568695c6ad21d62ac (patch)
tree0a4d9b90c2ce5049428020f51cbea516438cabd5 /libavformat/avformat.h
parentfeb2440c38c7bde97b04e3ad32575e50cb85c826 (diff)
add new streams API without MAX_STREAMS limit
(disabled until next major bump) Originally committed as revision 25381 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index d55a44689b..4a46a36789 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -672,7 +672,11 @@ typedef struct AVFormatContext {
void *priv_data;
ByteIOContext *pb;
unsigned int nb_streams;
+#if LIBAVFORMAT_VERSION_MAJOR < 53
AVStream *streams[MAX_STREAMS];
+#else
+ AVStream **streams;
+#endif
char filename[1024]; /**< input or output filename */
/* stream info */
int64_t timestamp;