diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-11-09 20:28:46 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-11-09 20:28:46 +0300 |
commit | 92a35418762f94f3ce0989bc16e17f3615bfc474 (patch) | |
tree | f98f3ddb131246ab52847738f00c4e2f2666d6aa /libavcodec/raw.c | |
parent | c2212338e86c160c75efee80f8955ae21b7f8ced (diff) |
16bit in avi is RGB555
Originally committed as revision 6956 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r-- | libavcodec/raw.c | 2 |
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; } |