mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
img_convert() (YUV to YUV) patch by (Max Krasnyansky <maxk at qualcomm dot com>)
Originally committed as revision 1484 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
69572401ad
commit
566986ee19
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user