summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-18 03:24:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-18 03:35:46 +0100
commit549749c68e7216b7a5714b9019ad20652e970d33 (patch)
treec00b39837c3494196dc5b3835442bbfb5c416f7a /libavcodec/mpeg12.c
parent06192e42fd925a2b1c1850a112038180479ddac4 (diff)
mpeg12: disable checked reader.
overreads in mpeg12 are not possible Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index a19378146b..73630b9dbe 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -25,6 +25,8 @@
* MPEG-1/2 decoder
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
//#define DEBUG
#include "internal.h"
#include "avcodec.h"