projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ff336
)
Set bits_per_raw_sample appropriately in dpx decoder.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 16 Dec 2009 20:46:48 +0000
(20:46 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 16 Dec 2009 20:46:48 +0000
(20:46 +0000)
Originally committed as revision 20887 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dpx.c
patch
|
blob
|
history
diff --git
a/libavcodec/dpx.c
b/libavcodec/dpx.c
index
fec12f9
..
ec0f435
100644
(file)
--- a/
libavcodec/dpx.c
+++ b/
libavcodec/dpx.c
@@
-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) {