Mercurial > mplayer.hg
changeset 2553:db0d4caf5e47
Cosmetic
author | nick |
---|---|
date | Tue, 30 Oct 2001 16:17:38 +0000 |
parents | bd734d41a407 |
children | db9d31c4bf4c |
files | libvo/vo_vesa.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_vesa.c Tue Oct 30 16:17:07 2001 +0000 +++ b/libvo/vo_vesa.c Tue Oct 30 16:17:38 2001 +0000 @@ -450,17 +450,16 @@ num_modes = 0; mode_ptr = vib.VideoModePtr; while(*mode_ptr++ != 0xffff) num_modes++; - yuv_fmt = format == IMGFMT_YV12 || format == IMGFMT_I420 || format == IMGFMT_IYUV; switch(format) { case IMGFMT_BGR8: case IMGFMT_RGB8: bpp = 8; break; case IMGFMT_BGR15: case IMGFMT_RGB15: bpp = 15; break; - default: case IMGFMT_YV12: case IMGFMT_I420: - case IMGFMT_IYUV: + case IMGFMT_IYUV: yuv_fmt = 1; + default: case IMGFMT_BGR16: case IMGFMT_RGB16: bpp = 16; break; case IMGFMT_BGR24: