# HG changeset patch # User reimar # Date 1200149919 0 # Node ID b4dbc6ce32b59bb13275026551d2b55a404f64d4 # Parent a9e6d0744fc44990f77be9f80d82df3caa7f00aa Remove an unused global variable diff -r a9e6d0744fc4 -r b4dbc6ce32b5 libmpcodecs/vd_ijpg.c --- a/libmpcodecs/vd_ijpg.c Sat Jan 12 14:56:11 2008 +0000 +++ b/libmpcodecs/vd_ijpg.c Sat Jan 12 14:58:39 2008 +0000 @@ -117,7 +117,6 @@ longjmp(myerr->setjmp_buffer, 1); } -static int row_stride; static unsigned char *temp_row=NULL; // decode a frame @@ -164,8 +163,6 @@ 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;