From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 8BBA34C009 for ; Mon, 1 Sep 2025 22:11:27 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'tdy+W8WqGCzsczRkF+TqgZdj1t8Q0mSFgFY4y9n3FHs=', expected b'NmXn2duiDmVlClqgqO3kGYL+9PBEsJO0ogTdzayGhdA=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1756764678; h=mime-version : to : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=tdy+W8WqGCzsczRkF+TqgZdj1t8Q0mSFgFY4y9n3FHs=; b=C/HYs+0HgOqAOJDWajD1Oo2mi4DyYxpNvxZmyP7F3tbYNB5BZa+u7kPWcyGHGtWlYXfq9 +k3KQTLsfauy3urxXrKJz2yGvF710mwmMFHFyQ97tHjJ7idxwmPP2t3Mv+Kmi1KXusKZc/P lg3sRr2ggjROSAjaNIqKi/TBRxwF89HFt7WYwY4Rwm+BwSMn52NeFfZMM/Ga1fmuRA0nvWr t5vZ1smRuDKWnWZ9wFGdyCkr6HMjnr8f5OIrS+YtCRDj7ibSACm1I4qRbGwKvH7sob0Xuoj bkFXNtntTXq4dqWvY6x02xWvCdWD5AwRPVMtSClov1YEc/OeEKf9pG88IliQ== Received: from [172.19.0.4] (unknown [172.19.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 80C7368E781; Tue, 2 Sep 2025 01:11:18 +0300 (EEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1756764668; b=r0xGRFuYFa9jgvzlsCZrhI2KVphLxjmc12Dnh6gf2Si6pUSE5azGHE6zc66Ie/MHfUeuY JeDmdG150vYVG0srHPR7Os9CHFnsHOpe5el1xP75ElTmak2SNf2fV26NPKZgebaSZ0CaXYf I3gcrU7GmziR2yD6yqtbG2qxxqYXzzUU96nGZWClzeT4fejLJkyyNAWpFzxo8pioVRpLQyN AmRS9LJaxI/APgu41+7qYvuQ2D4vM8vKWm+ptZkEoH4eWUw30DLkgL0IC9L9NGRvXm2n9ya LV/C/R6VwO+STPTgp+Rrz9drW/6UwCoLaWeCd++utXUKqx89aQzu80rTPqcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1756764668; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=PKgfZRHdg0r2pekiCHIPbNIzv+sKFpHW5OTz7VA+/+M=; b=WSzWxnt6lhbB26ODpwL7e8nv1fiDKopkdetjehQdTapbsOwL8R2SECH+v2HKuF6hzXi8W M3E9i5JKVLbIhmGr3UmqOwVbReoarp0uyWUrJui7bqI2nZNIvz2Z20PgLoL0tiMSFdpXFGP O/rgHJ6psgL1xl77E/zyG9FXji5OK2OlFpIOzlK/okz4QKUzcI819+2o2Crq659jtZ/AIwt sPQwmOA0MptfVsla4W+wUE7X7GxWBYlumKHRem8PR4NIgKyKJewRJ93F6Gdy6mar87fue0I nVQ2QRbgJwqz9+QZMxuhjfWyvfrs3nTBPxnsIpSWi5OpaaK8HWJG+Qx1dLCA== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=none Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1756764659; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : from; bh=NmXn2duiDmVlClqgqO3kGYL+9PBEsJO0ogTdzayGhdA=; b=niDpgFDwjFIeF2BaeYH/jI3rsmZVJD/mD700jx6tGF72WydfgMpkTyyPMNZ0jSaIhwYPg SD338u5/aqhWtA3ij32WHpQ05b+5HHR4Tyv4RAO9LjjWKKYYj1l3wvQJE6UiUr2+Ype7cxK m7U8IFxAhtmfAkJmz+rejIdZKEfPz6xVEUdf6fxdTvgpSyneS2nh0zhXIJ/o1LMGpPbHrsZ 66UihuTp8Y967El4z8iaDvwZAqwxv0dmREFN/EYjpr2E1x0wT1gJ5Nf06CC2hpRhcmLQYnk RSpetRWeK7VaCZ9PePjgsa2iMqHbnRWCxlzEJ9N+Tifn8i2cLdT6IqOU6n6Q== Received: from 5d8f51c41678 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 975C068BECB for ; Tue, 2 Sep 2025 01:10:59 +0300 (EEST) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Message-ID: <175676465978.25.18086256593081252201@463a07221176> Message-ID-Hash: IYMH3P4QGQML5JZM7OJBPLBXTE56HYIW X-Message-ID-Hash: IYMH3P4QGQML5JZM7OJBPLBXTE56HYIW X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH] lavc/librsvgdec: Fix compilation with librsvg 2.50.3. (PR #20389) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Lastique via ffmpeg-devel Cc: Lastique Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #20389 opened by Lastique URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20389 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20389.patch This fixes compilation with librsvg 2.50.3: ``` error: viewport undeclared ``` Fixes https://trac.ffmpeg.org/ticket/10722. >>From 4f318bb8842dd7e4b91077611b927427e01a570d Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Tue, 2 Sep 2025 01:07:05 +0300 Subject: [PATCH] lavc/librsvgdec: Fix compilation with librsvg 2.50.3. This fixes compilation with librsvg 2.50.3: error: viewport undeclared Fixes https://trac.ffmpeg.org/ticket/10722. --- libavcodec/librsvgdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/librsvgdec.c b/libavcodec/librsvgdec.c index c328fbc774..756c26d868 100644 --- a/libavcodec/librsvgdec.c +++ b/libavcodec/librsvgdec.c @@ -90,8 +90,10 @@ static int librsvg_decode_frame(AVCodecContext *avctx, AVFrame *frame, goto end; avctx->pix_fmt = AV_PIX_FMT_RGB32; +#if LIBRSVG_MAJOR_VERSION > 2 || LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION >= 52 viewport.width = dimensions.width; viewport.height = dimensions.height; +#endif ret = ff_get_buffer(avctx, frame, 0); if (ret < 0) -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org