changeset 25665:b4dbc6ce32b5

Remove an unused global variable
author reimar
date Sat, 12 Jan 2008 14:58:39 +0000
parents a9e6d0744fc4
children 79fee31fb216
files libmpcodecs/vd_ijpg.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;