[FFmpeg-cvslog] r15748 - trunk/libavcodec/imgconvert.c
diego
subversion
Thu Oct 30 10:13:48 CET 2008
Author: diego
Date: Thu Oct 30 10:13:48 2008
New Revision: 15748
Log:
Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
Modified:
trunk/libavcodec/imgconvert.c
Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c (original)
+++ trunk/libavcodec/imgconvert.c Thu Oct 30 10:13:48 2008
@@ -894,12 +894,10 @@ void av_picture_copy(AVPicture *dst, con
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],
More information about the ffmpeg-cvslog
mailing list