Browse Source

h264: disable checking reader, overreads are not possible

in ffmpegs h264 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
38331d2036
4 changed files with 6 additions and 0 deletions
  1. +2
    -0
      libavcodec/h264.c
  2. +1
    -0
      libavcodec/h264_cabac.c
  3. +1
    -0
      libavcodec/h264_cavlc.c
  4. +2
    -0
      libavcodec/h264_parser.c

+ 2
- 0
libavcodec/h264.c View File

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


+ 1
- 0
libavcodec/h264_cabac.c View File

@@ -26,6 +26,7 @@
*/

#define CABAC 1
#define UNCHECKED_BITSTREAM_READER 1

#include "internal.h"
#include "dsputil.h"


+ 1
- 0
libavcodec/h264_cavlc.c View File

@@ -26,6 +26,7 @@
*/

#define CABAC 0
#define UNCHECKED_BITSTREAM_READER 1

#include "internal.h"
#include "avcodec.h"


+ 2
- 0
libavcodec/h264_parser.c View File

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