Skip to content
Snippets Groups Projects
Commit c3abb551 authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

Set bits_per_raw_sample appropriately in dpx decoder.

Originally committed as revision 20887 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 22ff3361
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,7 @@ static int decode_frame(AVCodecContext *avctx, ...@@ -92,6 +92,7 @@ static int decode_frame(AVCodecContext *avctx,
// Need to end in 0x323 to read the bits per color // Need to end in 0x323 to read the bits per color
buf += 3; buf += 3;
avctx->bits_per_raw_sample =
bits_per_color = buf[0]; bits_per_color = buf[0];
switch (descriptor) { switch (descriptor) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment