Browse Source

Set bits_per_raw_sample appropriately in dpx decoder.

Originally committed as revision 20887 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger 16 years ago
parent
commit
c3abb55141
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/dpx.c

+ 1
- 0
libavcodec/dpx.c View File

@@ -92,6 +92,7 @@ static int decode_frame(AVCodecContext *avctx,

// Need to end in 0x323 to read the bits per color
buf += 3;
avctx->bits_per_raw_sample =
bits_per_color = buf[0];

switch (descriptor) {


Loading…
Cancel
Save