summaryrefslogtreecommitdiff
path: root/libavcodec/sinewin.h
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.h
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.h')
-rw-r--r--libavcodec/sinewin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/sinewin.h b/libavcodec/sinewin.h
index eefe5bfe7f..8054191867 100644
--- a/libavcodec/sinewin.h
+++ b/libavcodec/sinewin.h
@@ -53,7 +53,8 @@ extern SINETABLE( 512);
extern SINETABLE(1024);
extern SINETABLE(2048);
extern SINETABLE(4096);
+extern SINETABLE(8192);
-extern SINETABLE_CONST float * const ff_sine_windows[13];
+extern SINETABLE_CONST float * const ff_sine_windows[14];
#endif /* AVCODEC_SINEWIN_H */