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>
This commit is contained in:
Christophe Gisquet 2015-09-27 10:09:05 +02:00 committed by Michael Niedermayer
parent fd44892073
commit 235381e674
1 changed files with 1 additions and 0 deletions

View File

@ -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"