aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-11-09 17:28:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-11-09 17:28:46 +0000
commit92a35418762f94f3ce0989bc16e17f3615bfc474 (patch)
treef98f3ddb131246ab52847738f00c4e2f2666d6aa
parentc2212338e86c160c75efee80f8955ae21b7f8ced (diff)
downloadffmpeg-92a35418762f94f3ce0989bc16e17f3615bfc474.tar.gz
16bit in avi is RGB555
Originally committed as revision 6956 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 1212e2581f..e66737c90f 100644
--- 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_RGB565; break;
+ case 16: avctx->pix_fmt= PIX_FMT_RGB555; break;
case 24: avctx->pix_fmt= PIX_FMT_BGR24 ; break;
case 32: avctx->pix_fmt= PIX_FMT_RGBA32; break;
}