diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-27 22:47:33 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-28 15:08:21 +0300 |
commit | 676a589c936b7b475b8008ce51c968c376b173b8 (patch) | |
tree | da0a60a052da20c0f2126239bdaf05a833f12407 /libavcodec/utvideodec.c | |
parent | 9c604b34d435d14d077cb52432dbc13d5b59d9a3 (diff) |
avcodec/utvideodec: enable unchecked bitreader
inner reader loop becomes 16% faster
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/utvideodec.c')
-rw-r--r-- | libavcodec/utvideodec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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" |