diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-16 13:51:17 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-16 16:15:36 -0800 |
commit | b4027d97498af67313bded746b3da38915e155f5 (patch) | |
tree | 960ae80a587caa72c8d13d421e562c057885363a /libavcodec/sinewin_tablegen.h | |
parent | 204cb29b3c84a74cbcd059d353c70c8bdc567d98 (diff) | |
download | ffmpeg-b4027d97498af67313bded746b3da38915e155f5.tar.gz |
wmapro: change max. block size to 13 bits.
WMApro actually support 13-bits block sizes (potentially even up to 14),
and thus we should support that also. If we get block sizes beyond what
the decoder can handle (14 is possible depending on s->decode_flags),
error out instead of crashing.
Diffstat (limited to 'libavcodec/sinewin_tablegen.h')
-rw-r--r-- | libavcodec/sinewin_tablegen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/sinewin_tablegen.h b/libavcodec/sinewin_tablegen.h index 720f1ab6b8..7d920265d1 100644 --- a/libavcodec/sinewin_tablegen.h +++ b/libavcodec/sinewin_tablegen.h @@ -38,6 +38,7 @@ SINETABLE( 512); SINETABLE(1024); SINETABLE(2048); SINETABLE(4096); +SINETABLE(8192); #else #include "libavcodec/sinewin_tables.h" #endif @@ -45,7 +46,7 @@ SINETABLE(4096); SINETABLE_CONST float * const ff_sine_windows[] = { NULL, NULL, NULL, NULL, NULL, // unused ff_sine_32 , ff_sine_64 , - ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048, ff_sine_4096 + ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048, ff_sine_4096, ff_sine_8192 }; // Generate a sine window. |