Mercurial > mplayer.hg
diff libvo/vo_jpeg.c @ 7487:e60109dfc85c
U-V swapping fixed, patch by Joey Parrish <joey@yunamusic.com>
author | arpi |
---|---|
date | Sun, 22 Sep 2002 18:43:53 +0000 |
parents | c4434bdf6e51 |
children | 5b39e79af5fe |
line wrap: on
line diff
--- a/libvo/vo_jpeg.c Sun Sep 22 17:17:29 2002 +0000 +++ b/libvo/vo_jpeg.c Sun Sep 22 18:43:53 2002 +0000 @@ -191,17 +191,6 @@ static uint32_t draw_slice( uint8_t *src[],int stride[],int w,int h,int x,int y ) { - // hack: swap planes for I420 ;) -- alex - if ((image_format == IMGFMT_IYUV) || (image_format == IMGFMT_I420)) - { - uint8_t *src_i420[3]; - - src_i420[0]=src[0]; - src_i420[1]=src[2]; - src_i420[2]=src[1]; - src=src_i420; - } - if (scale_srcW) { uint8_t *dst[3]={image_data, NULL, NULL};