Browse Source

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>
tags/n3.0
Christophe Gisquet Michael Niedermayer 10 years ago
parent
commit
235381e674
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/dnxhddec.c

+ 1
- 0
libavcodec/dnxhddec.c 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"


Loading…
Cancel
Save