Skip to content
Snippets Groups Projects
Commit 92a35418 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

16bit in avi is RGB555

Originally committed as revision 6956 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c2212338
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment