From 7575506443d963e5e0befacbb3283c28162f5b24 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 11 Mar 2016 18:22:31 -0800 Subject: [PATCH] GUAC-236: Add missing comment for use of sws_scale(). --- src/guacenc/video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/guacenc/video.c b/src/guacenc/video.c index 69db9522..7c6c0c2e 100644 --- a/src/guacenc/video.c +++ b/src/guacenc/video.c @@ -348,6 +348,7 @@ void guacenc_video_prepare_frame(guacenc_video* video, guacenc_buffer* buffer) { return; } + /* Apply scaling, copying the source frame to the destination */ sws_scale(sws, (const uint8_t* const*) src->data, src->linesize, 0, src->height, dst->data, dst->linesize);