[SCM] libav/experimental: Remove unused variable, patch by Art Clarke, aclarke vlideshow com.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:31:57 UTC 2013


The following commit has been merged in the experimental branch:
commit bc48bb08226777edc443ddc58ed91102682b36f6
Author: Art Clarke <aclarke at vlideshow.com>
Date:   Thu Oct 30 09:13:48 2008 +0000

    Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
    
    Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index c418be2..72a5bbe 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],

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list