OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c221233
)
16bit in avi is RGB555
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 9 Nov 2006 17:28:46 +0000
(17:28 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 9 Nov 2006 17:28:46 +0000
(17:28 +0000)
Originally committed as revision 6956 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/raw.c
patch
|
blob
|
history
diff --git
a/libavcodec/raw.c
b/libavcodec/raw.c
index
1212e25
..
e66737c
100644
(file)
--- a/
libavcodec/raw.c
+++ b/
libavcodec/raw.c
@@
-97,7
+97,7
@@
static int raw_init_decoder(AVCodecContext *avctx)
switch(avctx->bits_per_sample){
case 8: avctx->pix_fmt= PIX_FMT_PAL8 ; break;
case 15: avctx->pix_fmt= PIX_FMT_RGB555; break;
- case 16: avctx->pix_fmt= PIX_FMT_RGB5
6
5; break;
+ case 16: avctx->pix_fmt= PIX_FMT_RGB5
5
5; break;
case 24: avctx->pix_fmt= PIX_FMT_BGR24 ; break;
case 32: avctx->pix_fmt= PIX_FMT_RGBA32; break;
}