mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 12:24:52 +00:00
16bit in avi is RGB555
Originally committed as revision 6956 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c2212338e8
commit
92a3541876
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user