# HG changeset patch # User diego # Date 1225358028 0 # Node ID 661cd381d996e2fea4f3f3da61a7095358ce6068 # Parent ae146e4290034361964b0fa7bed704b6a4f90449 Remove unused variable, patch by Art Clarke, aclarke vlideshow com. diff -r ae146e429003 -r 661cd381d996 imgconvert.c --- a/imgconvert.c Thu Oct 30 06:08:47 2008 +0000 +++ b/imgconvert.c Thu Oct 30 09:13:48 2008 +0000 @@ -894,12 +894,10 @@ case FF_PIXEL_PACKED: case FF_PIXEL_PLANAR: for(i = 0; i < pf->nb_channels; i++) { - int w, h; + int h; int bwidth = ff_get_plane_bytewidth(pix_fmt, width, i); - w = width; h = height; if (i == 1 || i == 2) { - w >>= pf->x_chroma_shift; h= -((-height)>>pf->y_chroma_shift); } ff_img_copy_plane(dst->data[i], dst->linesize[i],