Commit 4df7beb3 authored by Alexander E. Patrakov's avatar Alexander E. Patrakov Committed by Michael Niedermayer

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
parent 6bf8b3ef
...@@ -69,7 +69,7 @@ enum DCAMode { ...@@ -69,7 +69,7 @@ enum DCAMode {
#define HEADER_SIZE 14 #define HEADER_SIZE 14
#define CONVERT_BIAS 384 #define CONVERT_BIAS 384
#define DCA_MAX_FRAME_SIZE 16383 #define DCA_MAX_FRAME_SIZE 16384
/** Bit allocation */ /** Bit allocation */
typedef struct { typedef struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment