Add max allowed subpackets in multichannel cook
authorBenjamin Larsson <banan@ludd.ltu.se>
Sun, 15 Mar 2009 19:34:52 +0000 (19:34 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sun, 15 Mar 2009 19:34:52 +0000 (19:34 +0000)
Originally committed as revision 17991 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cook.c

index 92e2be4c4ccccc2b463bd5008e476fb543749376..1c1bf72c62c11cf80792acb1acb53949a589980c 100644 (file)
@@ -61,6 +61,7 @@
 #define MC_COOK         0x2000000   //multichannel Cook, not supported
 
 #define SUBBAND_SIZE    20
+#define MAX_SUBPACKETS   5
 //#define COOKDEBUG
 
 typedef struct {