projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f621dd
)
Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
author
Art Clarke
<aclarke@vlideshow.com>
Thu, 30 Oct 2008 09:13:48 +0000
(09:13 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 30 Oct 2008 09:13:48 +0000
(09:13 +0000)
Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgconvert.c
patch
|
blob
|
history
diff --git
a/libavcodec/imgconvert.c
b/libavcodec/imgconvert.c
index
c418be2
..
72a5bbe
100644
(file)
--- 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],