[FFmpeg-cvslog] dnxhddec: use unsafe bitstream reader
Christophe Gisquet
git at videolan.org
Mon Sep 28 01:15:28 CEST 2015
ffmpeg | branch: master | Christophe Gisquet <christophe.gisquet at gmail.com> | Sun Sep 27 10:09:05 2015 +0200| [235381e674bf0921cbb7871946e2ff08bd84d6ba] | committer: Michael Niedermayer
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 at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=235381e674bf0921cbb7871946e2ff08bd84d6ba
---
libavcodec/dnxhddec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index 8d30446..06d4780 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"
More information about the ffmpeg-cvslog
mailing list