Commit 38331d20 authored by Michael Niedermayer's avatar Michael Niedermayer

h264: disable checking reader, overreads are not possible

in ffmpegs h264 decoder.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1bdc212a
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at> * @author Michael Niedermayer <michaelni@gmx.at>
*/ */
#define UNCHECKED_BITSTREAM_READER 1
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "internal.h" #include "internal.h"
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
*/ */
#define CABAC 1 #define CABAC 1
#define UNCHECKED_BITSTREAM_READER 1
#include "internal.h" #include "internal.h"
#include "dsputil.h" #include "dsputil.h"
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
*/ */
#define CABAC 0 #define CABAC 0
#define UNCHECKED_BITSTREAM_READER 1
#include "internal.h" #include "internal.h"
#include "avcodec.h" #include "avcodec.h"
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at> * @author Michael Niedermayer <michaelni@gmx.at>
*/ */
#define UNCHECKED_BITSTREAM_READER 1
#include "parser.h" #include "parser.h"
#include "h264data.h" #include "h264data.h"
#include "golomb.h" #include "golomb.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment