From 185fdc549f3f65f0340bd73d954afe7216b7addd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 18 Feb 2003 17:35:49 +0000 Subject: [PATCH] fixing 410 -> 420 Originally committed as revision 1591 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 5f11b93c06..cfebe2477c 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -1370,7 +1370,7 @@ int img_convert(AVPicture *dst, int dst_pix_fmt, for(i = 1;i <= 2; i++) resize_func(dst->data[i], dst->linesize[i], src->data[i], src->linesize[i], - w, h); + dst_width>>dst_pix->x_chroma_shift, dst_height>>dst_pix->y_chroma_shift); return 0; }