[FFmpeg-devel] [PATCH 3/5] avcodec/utvideodec: enable unchecked bitreader

Michael Niedermayer michael at niedermayer.cc
Tue Jun 27 22:47:33 EEST 2017


inner reader loop becomes 16% faster

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavcodec/utvideodec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 411df47730..1418cde543 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -27,6 +27,8 @@
 #include <inttypes.h>
 #include <stdlib.h>
 
+#define UNCHECKED_BITSTREAM_READER 1
+
 #include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 #include "bswapdsp.h"
-- 
2.13.0



More information about the ffmpeg-devel mailing list