diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-17 16:26:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-03 20:45:37 +0100 |
commit | c8833a13cf530fbf5b1d579cd1ae527a0904403f (patch) | |
tree | 8859cdd854c67ae766d2f6d53b362a96fd69b86e | |
parent | 28bf685bfc6d0c744369cdf367f61a78d80d0b01 (diff) | |
download | ffmpeg-c8833a13cf530fbf5b1d579cd1ae527a0904403f.tar.gz |
eamad: fix out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 63ac64864c6e0e84355aa3caa5b92208997a9a8d)
-rw-r--r-- | libavcodec/eamad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eamad.c b/libavcodec/eamad.c index b3382406cd..47a9231868 100644 --- a/libavcodec/eamad.c +++ b/libavcodec/eamad.c @@ -237,7 +237,7 @@ static int decode_frame(AVCodecContext *avctx, int chunk_type; int inter; - if (buf_size < 17) { + if (buf_size < 26) { av_log(avctx, AV_LOG_ERROR, "Input buffer too small\n"); *data_size = 0; return -1; |