summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.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_parser.c
parent1bdc212a39312bd5914d643a4e664b4599477d8c (diff)
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_parser.c')
-rw-r--r--libavcodec/h264_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index ee766a1f27..9d28cc3707 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
#include "parser.h"
#include "h264data.h"
#include "golomb.h"