summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArt Clarke <aclarke@vlideshow.com>2008-10-30 09:13:48 +0000
committerDiego Biurrun <diego@biurrun.de>2008-10-30 09:13:48 +0000
commitbc48bb08226777edc443ddc58ed91102682b36f6 (patch)
tree1cb1743fffd86a1ab6c2e2e4a343fb50ec411643
parent5f621dd28aa8c7c71edc97c2867cacde346af353 (diff)
Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/imgconvert.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index c418be2bf0..72a5bbefb6 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],