changeset 10691:d54e52670962 libavcodec

Set bits_per_raw_sample appropriately in dpx decoder.
author reimar
date Wed, 16 Dec 2009 20:46:48 +0000
parents 63451af5f8f9
children e6cd0f36159b
files dpx.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dpx.c	Wed Dec 16 17:15:57 2009 +0000
+++ b/dpx.c	Wed Dec 16 20:46:48 2009 +0000
@@ -92,6 +92,7 @@
 
     // 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) {