Mercurial > mplayer.hg
diff dec_video.c @ 3646:3f25f07f4e92
Cinepak YUY2 support
author | arpi |
---|---|
date | Fri, 21 Dec 2001 17:49:31 +0000 |
parents | fb9fd7e2dd35 |
children | 7fb817c9060b |
line wrap: on
line diff
--- a/dec_video.c Fri Dec 21 17:38:55 2001 +0000 +++ b/dec_video.c Fri Dec 21 17:49:31 2001 +0000 @@ -564,7 +564,7 @@ switch(sh_video->codec->driver){ case VFM_CINEPAK: decode_cinepak(sh_video->context, start, in_size, sh_video->our_out_buffer, - sh_video->disp_w, sh_video->disp_h, out_fmt&255); + sh_video->disp_w, sh_video->disp_h, (out_fmt==IMGFMT_YUY2)?16:(out_fmt&255)); blit_frame = 3; break; #ifdef USE_XANIM