From 235381e674bf0921cbb7871946e2ff08bd84d6ba Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Sun, 27 Sep 2015 10:09:05 +0200 Subject: 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 --- libavcodec/dnxhddec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/dnxhddec.c') 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" -- cgit v1.2.3