h264: disable checking reader, overreads are not possible
in ffmpegs h264 decoder. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		@@ -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 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#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 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#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 @@
 | 
				
			|||||||
 * @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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user