From 00b4af59d85483d437c86519aef10ee860b30cc1 Mon Sep 17 00:00:00 2001
From: diego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Date: Thu, 30 Oct 2008 09:13:48 +0000
Subject: [PATCH] Remove unused variable, patch by Art Clarke, aclarke
 vlideshow com.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15748 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
---
 libavcodec/imgconvert.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index c418be2bf..72a5bbefb 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -894,12 +894,10 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src,
     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],
-- 
2.25.4