diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-09-27 10:09:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-28 01:00:58 +0200 |
commit | 235381e674bf0921cbb7871946e2ff08bd84d6ba (patch) | |
tree | f0e20a655a8511fcbf9683b9b00d5837b4d5087f /libavcodec/dnxhddec.c | |
parent | fd44892073cc9a5737ee230b0528aba3d555378c (diff) | |
download | ffmpeg-235381e674bf0921cbb7871946e2ff08bd84d6ba.tar.gz |
dnxhddec: use unsafe bitstream reader
Each line is padded by the format, and errors are now reported and
stop the decoding. Around 5% speedup.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r-- | libavcodec/dnxhddec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 8d30446f78..06d4780a5b 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -26,6 +26,7 @@ #include "libavutil/timer.h" #include "avcodec.h" #include "blockdsp.h" +#define UNCHECKED_BITSTREAM_READER 1 #include "get_bits.h" #include "dnxhddata.h" #include "idctdsp.h" |