mirror of
https://github.com/mpv-player/mpv
synced 2025-02-11 09:27:26 +00:00
Remove an unused global variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25693 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e15487b068
commit
574edcc737
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user