From 574edcc73701bf7523fe83f8f2ad41d3a01a0681 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 12 Jan 2008 14:58:39 +0000 Subject: Remove an unused global variable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25693 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ijpg.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libmpcodecs/vd_ijpg.c') diff --git a/libmpcodecs/vd_ijpg.c b/libmpcodecs/vd_ijpg.c index 4e0c62d6d4..5ba2401fe0 100644 --- a/libmpcodecs/vd_ijpg.c +++ b/libmpcodecs/vd_ijpg.c @@ -117,7 +117,6 @@ METHODDEF(void) my_error_exit (j_common_ptr cinfo) 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,void* data,int len,int flags){ 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; -- cgit v1.2.3