[FFmpeg-cvslog] avcodec/utvideodec: enable unchecked bitreader

Michael Niedermayer git at videolan.org
Wed Jun 28 15:09:55 EEST 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Jun 27 21:47:33 2017 +0200| [676a589c936b7b475b8008ce51c968c376b173b8] | committer: Michael Niedermayer

avcodec/utvideodec: enable unchecked bitreader

inner reader loop becomes 16% faster

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=676a589c936b7b475b8008ce51c968c376b173b8
---

 libavcodec/utvideodec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 18f11aa3a7..96a032bda5 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"



More information about the ffmpeg-cvslog mailing list