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;
participants (1)
-
reimar