1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Set bits_per_raw_sample appropriately in dpx decoder.

Originally committed as revision 20887 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-12-16 20:46:48 +00:00
parent 22ff336145
commit c3abb55141

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) {