[FFmpeg-cvslog] mpeg4: disable checked bitstream reader, overreads are not possible.
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:20:41 2011 +0100| [06192e42fd925a2b1c1850a112038180479ddac4] | committer: Michael Niedermayer
mpeg4: disable checked bitstream reader, overreads are not possible.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06192e42fd925a2b1c1850a112038180479ddac4
---
libavcodec/mpeg4video_parser.c | 2 ++
libavcodec/mpeg4videodec.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavcodec/mpeg4video_parser.c b/libavcodec/mpeg4video_parser.c
index c331435..5f3b19d 100644
--- a/libavcodec/mpeg4video_parser.c
+++ b/libavcodec/mpeg4video_parser.c
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
#include "parser.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index e620f75..de5e862 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define UNCHECKED_BITSTREAM_READER 1
+
#include "libavutil/opt.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
More information about the ffmpeg-cvslog
mailing list