Commit 2f267b57 authored by michaelni's avatar michaelni

img_convert() (YUV to YUV) patch by (Max Krasnyansky <maxk at qualcomm dot com>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1484 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent de8ebce1
...@@ -1190,10 +1190,12 @@ int img_convert(AVPicture *dst, int dst_pix_fmt, ...@@ -1190,10 +1190,12 @@ int img_convert(AVPicture *dst, int dst_pix_fmt,
img_copy(dst->data[0], dst->linesize[0], img_copy(dst->data[0], dst->linesize[0],
src->data[0], src->linesize[0], src->data[0], src->linesize[0],
dst_width, dst_height); dst_width, dst_height);
for(i = 1;i <= 2; i++) for(i = 1;i <= 2; i++)
resize_func(dst->data[1], dst->linesize[1], resize_func(dst->data[i], dst->linesize[i],
src->data[1], src->linesize[1], src->data[i], src->linesize[i],
w, h); w, h);
return 0;
} }
/* try to use an intermediate format */ /* try to use an intermediate format */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment