aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-18 03:17:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-18 03:17:44 +0100
commit38331d2036c3bd1b8f070b1fe351bb4fbfac0c34 (patch)
treeae2006f27a2a9e20c19513e6c1a3d868c048125a /libavcodec/h264.c
parent1bdc212a39312bd5914d643a4e664b4599477d8c (diff)
downloadffmpeg-38331d2036c3bd1b8f070b1fe351bb4fbfac0c34.tar.gz
h264: disable checking reader, overreads are not possible
in ffmpegs h264 decoder. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index efeadb6b9d..d8820f2147 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "internal.h"