comparison dpx.c @ 10691:d54e52670962 libavcodec

Set bits_per_raw_sample appropriately in dpx decoder.
author reimar
date Wed, 16 Dec 2009 20:46:48 +0000
parents ee32274eb802
children 8a4984c5cacc
comparison
equal deleted inserted replaced
10690:63451af5f8f9 10691:d54e52670962
90 buf += 20; 90 buf += 20;
91 descriptor = buf[0]; 91 descriptor = buf[0];
92 92
93 // Need to end in 0x323 to read the bits per color 93 // Need to end in 0x323 to read the bits per color
94 buf += 3; 94 buf += 3;
95 avctx->bits_per_raw_sample =
95 bits_per_color = buf[0]; 96 bits_per_color = buf[0];
96 97
97 switch (descriptor) { 98 switch (descriptor) {
98 case 51: // RGBA 99 case 51: // RGBA
99 elements = 4; 100 elements = 4;