aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-18 03:19:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-03 21:51:52 +0100
commite8928f7e972fc12fb101f51763cec09f178e7ff3 (patch)
treeadff77197981a4e89addd1c92bce757bd09c6712
parentb1933a1e1215170857d657d29a910199e5d17361 (diff)
downloadffmpeg-e8928f7e972fc12fb101f51763cec09f178e7ff3.tar.gz
h263: disable slow checked reader, overreads are not possible in
ffmpegs h263 decoder Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8e7776036b11bf54bc8668eda3db1852f92a37fa) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h263dec.c2
-rw-r--r--libavcodec/ituh263dec.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index dfb055b930..830eec0e95 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -25,6 +25,8 @@
* H.263 decoder.
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
#include "libavutil/cpu.h"
#include "internal.h"
#include "avcodec.h"
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index 69e7ab9c99..21365a673e 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh263dec.c
@@ -27,6 +27,8 @@
* h263 decoder.
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
//#define DEBUG
#include <limits.h>