Commit bc48bb08 authored by Art Clarke's avatar Art Clarke Committed by Diego Biurrun

Remove unused variable, patch by Art Clarke, aclarke vlideshow com.

Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5f621dd2
...@@ -894,12 +894,10 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src, ...@@ -894,12 +894,10 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src,
case FF_PIXEL_PACKED: case FF_PIXEL_PACKED:
case FF_PIXEL_PLANAR: case FF_PIXEL_PLANAR:
for(i = 0; i < pf->nb_channels; i++) { for(i = 0; i < pf->nb_channels; i++) {
int w, h; int h;
int bwidth = ff_get_plane_bytewidth(pix_fmt, width, i); int bwidth = ff_get_plane_bytewidth(pix_fmt, width, i);
w = width;
h = height; h = height;
if (i == 1 || i == 2) { if (i == 1 || i == 2) {
w >>= pf->x_chroma_shift;
h= -((-height)>>pf->y_chroma_shift); h= -((-height)>>pf->y_chroma_shift);
} }
ff_img_copy_plane(dst->data[i], dst->linesize[i], ff_img_copy_plane(dst->data[i], dst->linesize[i],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment