diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-12-16 20:46:48 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-12-16 20:46:48 +0000 |
commit | c3abb5514191a14d2eb44a172437a4bbff59edf4 (patch) | |
tree | 39d270803adb3e57ab8a6abb14ed9094816a5374 /libavcodec | |
parent | 22ff33614519d902c4d4012d11283961d89022ed (diff) | |
download | ffmpeg-c3abb5514191a14d2eb44a172437a4bbff59edf4.tar.gz |
Set bits_per_raw_sample appropriately in dpx decoder.
Originally committed as revision 20887 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dpx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index fec12f94ca..ec0f435610 100644 --- 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) { |