[MPlayer-cvslog] r25693 - trunk/libmpcodecs/vd_ijpg.c

reimar subversion at mplayerhq.hu
Sat Jan 12 15:58:39 CET 2008


Author: reimar
Date: Sat Jan 12 15:58:39 2008
New Revision: 25693

Log:
Remove an unused global variable


Modified:
   trunk/libmpcodecs/vd_ijpg.c

Modified: trunk/libmpcodecs/vd_ijpg.c
==============================================================================
--- trunk/libmpcodecs/vd_ijpg.c	(original)
+++ trunk/libmpcodecs/vd_ijpg.c	Sat Jan 12 15:58:39 2008
@@ -117,7 +117,6 @@ METHODDEF(void) my_error_exit (j_common_
  longjmp(myerr->setjmp_buffer, 1);
 }
 
-static int        row_stride;
 static unsigned char *temp_row=NULL;
 
 // decode a frame
@@ -164,8 +163,6 @@ static mp_image_t* decode(sh_video_t *sh
  mpi=mpcodecs_get_image( sh,MP_IMGTYPE_TEMP,MP_IMGFLAG_ACCEPT_STRIDE,width,height );
  if ( !mpi ) return NULL;
 
- row_stride=cinfo.output_width * cinfo.output_components;
-
  for ( i=0;i < height;i++ )
   {
    unsigned char * drow = mpi->planes[0] + mpi->stride[0] * i;



More information about the MPlayer-cvslog mailing list