summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-01 05:29:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-01 06:39:48 +0100
commit8263212e8659fed37a9ee77c15599610470b4ac5 (patch)
treebbe278adbf68dc00471de4a6509a0f2644787073 /libavcodec/mpegaudiodec.c
parenta057ef6923fba7947d8ccf27b751bf91fde3a755 (diff)
mpegaudiodec: Enable checked bitstream reader.
It appears there are corner cases with damaged input that can lead to small overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index ddb7695446..b80d7c771a 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -24,8 +24,6 @@
* MPEG Audio decoder
*/
-#define UNCHECKED_BITSTREAM_READER 1
-
#include "libavutil/audioconvert.h"
#include "avcodec.h"
#include "get_bits.h"