Mercurial > libavcodec.hg
changeset 1023:e61be5796027 libavcodec
img_convert() (YUV to YUV) patch by (Max Krasnyansky <maxk at qualcomm dot com>)
author | michaelni |
---|---|
date | Mon, 20 Jan 2003 22:41:48 +0000 |
parents | d651df667898 |
children | 9cc1031e1864 |
files | imgconvert.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/imgconvert.c Mon Jan 20 22:26:19 2003 +0000 +++ b/imgconvert.c Mon Jan 20 22:41:48 2003 +0000 @@ -1190,10 +1190,12 @@ img_copy(dst->data[0], dst->linesize[0], src->data[0], src->linesize[0], dst_width, dst_height); + for(i = 1;i <= 2; i++) - resize_func(dst->data[1], dst->linesize[1], - src->data[1], src->linesize[1], + resize_func(dst->data[i], dst->linesize[i], + src->data[i], src->linesize[i], w, h); + return 0; } /* try to use an intermediate format */