h264: disable checking reader, overreads are not possible

in ffmpegs h264 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 13 years ago
parent 1bdc212a39
commit 38331d2036
  1. 2
      libavcodec/h264.c
  2. 1
      libavcodec/h264_cabac.c
  3. 1
      libavcodec/h264_cavlc.c
  4. 2
      libavcodec/h264_parser.c

@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
#define UNCHECKED_BITSTREAM_READER 1
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "internal.h"

@ -26,6 +26,7 @@
*/
#define CABAC 1
#define UNCHECKED_BITSTREAM_READER 1
#include "internal.h"
#include "dsputil.h"

@ -26,6 +26,7 @@
*/
#define CABAC 0
#define UNCHECKED_BITSTREAM_READER 1
#include "internal.h"
#include "avcodec.h"

@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
#define UNCHECKED_BITSTREAM_READER 1
#include "parser.h"
#include "h264data.h"
#include "golomb.h"

Loading…
Cancel
Save