X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_libavcodec%2Ftrgt_av.cpp;h=5ad733aba2220061eee63975a0e280c3115e2217;hb=74582e201a1a01b4e71e50f7de88f6936bb3edee;hp=94881a752b123e714fc63683d4f1e76b56dc55b5;hpb=58d3e2c317f536f4437b43c83c11f057a77e5a57;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp b/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp index 94881a7..5ad733a 100644 --- a/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp +++ b/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp @@ -6,6 +6,8 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Paul Wise +** Copyright (c) 2008 Gerco Ballintijn ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -418,8 +420,8 @@ public: context->width, context->height, context->pix_fmt, SWS_BICUBIC, NULL, NULL, NULL); - sws_scale(img_convert_ctx, pict->data, pict->linesize, - + sws_scale(img_convert_ctx, pict->data, pict->linesize, + 0, context->height, encodable->data, encodable->linesize);