aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avi.h
diff options
context:
space:
mode:
authorlongstone <zhibing.min@hotmail.com>2011-02-23 10:43:21 -0500
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-23 10:44:26 -0500
commit4acc94e97a9551d11ead29735e23283d71f1d4c2 (patch)
tree77b3c5c50457ac0e198fc5928a67999059206ed8 /libavformat/avi.h
parent22a3212e32b696028e21f00871f3cb48c044029d (diff)
downloadffmpeg-4acc94e97a9551d11ead29735e23283d71f1d4c2.tar.gz
avienc: fix AVI stream index for files with >10 streams
Fixes issue 2563. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/avi.h')
-rw-r--r--libavformat/avi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avi.h b/libavformat/avi.h
index f345c14760..b4e551971a 100644
--- a/libavformat/avi.h
+++ b/libavformat/avi.h
@@ -32,6 +32,7 @@
#define AVI_MAX_RIFF_SIZE 0x40000000LL
#define AVI_MASTER_INDEX_SIZE 256
+#define AVI_MAX_STREAM_COUNT 100
/* index flags */
#define AVIIF_INDEX 0x10