diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-12 14:58:39 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-12 14:58:39 +0000 |
commit | 574edcc73701bf7523fe83f8f2ad41d3a01a0681 (patch) | |
tree | 528d9b89e132388f716a8702737a5b62d38f4d96 | |
parent | e15487b068de47cd6b0a8b6d8e8f6fba784078b4 (diff) |
Remove an unused global variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25693 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vd_ijpg.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |