From 8e7776036b11bf54bc8668eda3db1852f92a37fa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 18 Dec 2011 03:19:40 +0100 Subject: [PATCH] h263: disable slow checked reader, overreads are not possible in ffmpegs h263 decoder Signed-off-by: Michael Niedermayer --- libavcodec/h263dec.c | 2 ++ libavcodec/ituh263dec.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 0d741d80c2..fcb62732b5 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 bf03e1a1d6..f058c9b848 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -27,6 +27,8 @@ * h263 decoder. */ +#define UNCHECKED_BITSTREAM_READER 1 + //#define DEBUG #include