Browse Source

h263: disable slow checked reader, overreads are not possible in

ffmpegs h263 decoder

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
8e7776036b
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      libavcodec/h263dec.c
  2. +2
    -0
      libavcodec/ituh263dec.c

+ 2
- 0
libavcodec/h263dec.c View File

@@ -25,6 +25,8 @@
* H.263 decoder.
*/

#define UNCHECKED_BITSTREAM_READER 1

#include "libavutil/cpu.h"
#include "internal.h"
#include "avcodec.h"


+ 2
- 0
libavcodec/ituh263dec.c View File

@@ -27,6 +27,8 @@
* h263 decoder.
*/

#define UNCHECKED_BITSTREAM_READER 1

//#define DEBUG
#include <limits.h>



Loading…
Cancel
Save