Commit 8263212e authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a057ef69
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
* MPEG Audio decoder * MPEG Audio decoder
*/ */
#define UNCHECKED_BITSTREAM_READER 1
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "avcodec.h" #include "avcodec.h"
#include "get_bits.h" #include "get_bits.h"
......
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