[FFmpeg-cvslog] h263: disable slow checked reader, overreads are not possible in

Michael Niedermayer git at videolan.org
Sun Dec 18 03:39:18 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Dec 18 03:19:40 2011 +0100| [8e7776036b11bf54bc8668eda3db1852f92a37fa] | committer: Michael Niedermayer

h263: disable slow checked reader, overreads are not possible in
ffmpegs h263 decoder

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8e7776036b11bf54bc8668eda3db1852f92a37fa
---

 libavcodec/h263dec.c    |    2 ++
 libavcodec/ituh263dec.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 0d741d8..fcb6273 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 bf03e1a..f058c9b 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>
 



More information about the ffmpeg-cvslog mailing list