aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorAlexander E. Patrakov <patrakov@gmail.com>2008-08-23 13:29:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-23 13:29:13 +0000
commit4df7beb3686caf2df345d2e10564aa8cf6c24a65 (patch)
tree0f457e78e3c4fb1f9b8c996291fb1c4add0dde36 /libavcodec/dca.c
parent6bf8b3ef03de621da9fbd506c75714180bcf987f (diff)
downloadffmpeg-4df7beb3686caf2df345d2e10564aa8cf6c24a65.tar.gz
Increase buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmail
This fixes a (probably not exploitable) buffer overflow (apparently unknown to its author). Originally committed as revision 14917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r--libavcodec/dca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index 8cca01a020..83b448858d 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -69,7 +69,7 @@ enum DCAMode {
#define HEADER_SIZE 14
#define CONVERT_BIAS 384
-#define DCA_MAX_FRAME_SIZE 16383
+#define DCA_MAX_FRAME_SIZE 16384
/** Bit allocation */
typedef struct {