avcodec/utvideodec: enable unchecked bitreader
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Jun 2017 19:47:33 +0000 (21:47 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 28 Jun 2017 12:08:21 +0000 (14:08 +0200)
inner reader loop becomes 16% faster

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utvideodec.c

index 18f11aa..96a032b 100644 (file)
@@ -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"