git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6957240
)
img_convert() (YUV to YUV) patch by (Max Krasnyansky <maxk at qualcomm dot com>)
author
Max Krasnyansky
<maxk@qualcomm.com>
Mon, 20 Jan 2003 22:41:48 +0000
(22:41 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 20 Jan 2003 22:41:48 +0000
(22:41 +0000)
Originally committed as revision 1484 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgconvert.c
patch
|
blob
|
history
diff --git
a/libavcodec/imgconvert.c
b/libavcodec/imgconvert.c
index
c02afc7
..
82e520e
100644
(file)
--- a/
libavcodec/imgconvert.c
+++ b/
libavcodec/imgconvert.c
@@
-1190,10
+1190,12
@@
int img_convert(AVPicture *dst, int dst_pix_fmt,
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 */