[FFmpeg-cvslog] mpeg12: disable checked reader.

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:24:09 2011 +0100| [549749c68e7216b7a5714b9019ad20652e970d33] | committer: Michael Niedermayer

mpeg12: disable checked reader.
overreads in mpeg12 are not possible

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

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

 libavcodec/mpeg12.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index a193781..73630b9 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -25,6 +25,8 @@
  * MPEG-1/2 decoder
  */
 
+#define UNCHECKED_BITSTREAM_READER 1
+
 //#define DEBUG
 #include "internal.h"
 #include "avcodec.h"



More information about the ffmpeg-cvslog mailing list