changeset 8087:661cd381d996 libavcodec

Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
author diego
date Thu, 30 Oct 2008 09:13:48 +0000
parents ae146e429003
children 728e0e4fcb95
files imgconvert.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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],