summaryrefslogtreecommitdiff
path: root/libavcodec/sinewin_tablegen.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-16 13:51:17 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-16 16:15:36 -0800
commitb4027d97498af67313bded746b3da38915e155f5 (patch)
tree960ae80a587caa72c8d13d421e562c057885363a /libavcodec/sinewin_tablegen.c
parent204cb29b3c84a74cbcd059d353c70c8bdc567d98 (diff)
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.c')
-rw-r--r--libavcodec/sinewin_tablegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sinewin_tablegen.c b/libavcodec/sinewin_tablegen.c
index 2f4d1aa2ae..d5e06895ca 100644
--- a/libavcodec/sinewin_tablegen.c
+++ b/libavcodec/sinewin_tablegen.c
@@ -38,7 +38,7 @@ int main(void)
write_fileheader();
- for (i = 5; i <= 12; i++) {
+ for (i = 5; i <= 13; i++) {
ff_init_ff_sine_windows(i);
printf("SINETABLE(%4i) = {\n", 1 << i);
write_float_array(ff_sine_windows[i], 1 << i);