[Mplayer-cvslog] CVS: main/libmpcodecs vd_ijpg.c,1.2,1.3

Zoltan Ponekker pontscho at mplayer.dev.hu
Mon Mar 11 09:42:18 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv4479/libmpcodecs

Modified Files:
	vd_ijpg.c 
Log Message:
kill few warning

Index: vd_ijpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ijpg.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vd_ijpg.c	10 Mar 2002 23:45:44 -0000	1.2
+++ vd_ijpg.c	11 Mar 2002 08:42:07 -0000	1.3
@@ -30,7 +30,7 @@
 
 static int last_w=-1;
 static int last_h=-1;
-static int last_c=-1;
+static unsigned int last_c=-1;
 
 // to set/get/query special features/parameters
 static int control(sh_video_t *sh,int cmd,void* arg,...){
@@ -123,7 +123,6 @@
 static struct     jpeg_decompress_struct cinfo;
 static struct     my_error_mgr jerr;
 static int        row_stride;
-static int 	  count;
 				  
 // decode a frame
 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
@@ -169,7 +168,7 @@
  for ( i=0;i < height;i++ )
   {
    char * row = mpi->planes[0] + mpi->stride[0] * i;
-   jpeg_read_scanlines( &cinfo,&row,1 );
+   jpeg_read_scanlines( &cinfo,(JSAMPLE**)&row,1 );
 #warning workaround for rgb2bgr
    if ( depth == 24 )
     for ( j=0;j < width * 3;j+=3 )




More information about the MPlayer-cvslog mailing list