Browse Source

mpeg4: disable checked bitstream reader, overreads are not possible.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 06192e42fd)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9.1
Michael Niedermayer 14 years ago
parent
commit
42b69286de
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      libavcodec/mpeg4video_parser.c
  2. +2
    -0
      libavcodec/mpeg4videodec.c

+ 2
- 0
libavcodec/mpeg4video_parser.c View File

@@ -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"


+ 2
- 0
libavcodec/mpeg4videodec.c View File

@@ -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"


Loading…
Cancel
Save