[Mplayer-cvslog] CVS: main/libvo vo_jpeg.c,1.3,1.4

Ponekker Zoltan pontscho at kac.poliod.hu
Fri Jul 19 11:05:07 CEST 2002


Hali

> + uint8_t *dst= src[0];

Tudom, en vagyok a fasz, de ez miert jobb ?

Pontscho

>   snprintf (buf, 256, "%s/%08d.jpg", jpeg_outdir, ++framenum);
>
> @@ -161,14 +162,14 @@
>    {
>     rgb32to24( src[0],image_data,image_width * image_height * 4 );
>     rgb24tobgr24( image_data,image_data,image_width * image_height * 3 );
> -   src[0]=image_data;
> +   dst=image_data;
>    }
>   if ( image_format == IMGFMT_BGR24 )
>    {
>     rgb24tobgr24( src[0],image_data,image_width * image_height * 3 );
> -   src[0]=image_data;
> +   dst=image_data;
>    }
> - return jpeg_write( buf,src[0] );
> + return jpeg_write( buf,dst );
>  }
>
>  static void draw_osd(void)
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
>






More information about the MPlayer-cvslog mailing list