From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E385F471E2 for ; Tue, 29 Aug 2023 13:46:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4D74968C6C5; Tue, 29 Aug 2023 16:46:12 +0300 (EEST) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 27DA868BE34 for ; Tue, 29 Aug 2023 16:46:06 +0300 (EEST) Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3a36b52b4a4so2365701b6e.1 for ; Tue, 29 Aug 2023 06:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693316764; x=1693921564; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6xErf0irSSAhi0gD9weSYYYalISBrwww88vza8qQf/I=; b=Al4sHJ7T79bm+QuuqKmsW0M6v/etED9IJGVob+k3hsxDw2oZ6orv/kWMI/y8RecWey YKV2NShSVKtdJYMRojQQCqAqlD55thDC+kncMwa6UXV6ntKRUzMxmtJ0pWrsS7mFF8R4 u2EJe8+aYJSVmy2hfN0lBjKBnFdeOkaj+BMAuSVevyoTa8ZLqRG7rxpasULhFA8ujwuS v4Sws2AgV0rtNO9LH0A6A2lnFSQMs7zxrvLj82MLtxkwPBpO4ACPiEtLhCCxlVR9a7bx cP9/aacBmGYMWgXeKPCQcfhGAFy8ynQrSr856vBWeA2ut4Won+KIw/efgYJBGGWGR1EV IECA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693316764; x=1693921564; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6xErf0irSSAhi0gD9weSYYYalISBrwww88vza8qQf/I=; b=lw9li3bWskofJr6cdsoTFlHvls4x21cp7Mfy5s+uMYMrqvBp1GK7SJpx9bemG2S4+r nMW9+GSF5XvyvnhaTFPe/ZkD2TZXOJNJtKj91lUpcYAzYBnhsxj0uC468S+E9XoDke+n n4oXYUWt2QoY6aQ1OxvCRtI1JSLAx1rDYH7DATCef+P0uMb78m4zfArEZM71CXyTW2U8 dZz1puADMyScdnw2iOFndD1R3fs82nGgCy+fqz5w1pvzqYfrA0NJpUGviCl9VFGtWV5M JUP+Tr7DLDs1kbrdmdqnXES4y/Hu004oLbMmFoHogoZlkZXK+FLnw4FFmk+By0H7SW9H i+VQ== X-Gm-Message-State: AOJu0Yz0GmdLeBhpI7ez4T0dj0SwJ9X/pOaMgm3LCtokSqQ7SXdAtNMm IAFegfNgFHplO06qCN0NYBa2DgvV2uM= X-Google-Smtp-Source: AGHT+IHesxku5eykYsHw/QBBQAva8Xzjljpx1LTLfXLylq57lXH2VHcEorSLTfYM6dEe0A77PGMeLQ== X-Received: by 2002:a05:6808:10c5:b0:3a9:cc99:81a8 with SMTP id s5-20020a05680810c500b003a9cc9981a8mr2005652ois.0.1693316764117; Tue, 29 Aug 2023 06:46:04 -0700 (PDT) Received: from [192.168.0.10] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id l16-20020a544510000000b003a7847cf407sm4425670oil.44.2023.08.29.06.46.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Aug 2023 06:46:03 -0700 (PDT) Message-ID: <59c535e7-813c-a9ba-8494-ae19668fc339@gmail.com> Date: Tue, 29 Aug 2023 10:46:01 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230828071411.1695-1-tong1.wu@intel.com> From: James Almer In-Reply-To: <20230828071411.1695-1-tong1.wu@intel.com> Subject: Re: [FFmpeg-devel] [PATCH] avcodec/jpegxl_parser: fix a compile error X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 8/28/2023 4:14 AM, Tong Wu wrote: > Compiler: MSVC 14.35.32215 > Error type: error C2099: initializer is not a constant > Related commit: 0c0dd23 avcodec/jpegxl_parser: add JPEG XL parser > > Signed-off-by: Tong Wu > --- > libavcodec/jpegxl_parser.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c > index 66e64b1074..20c8a41a89 100644 > --- a/libavcodec/jpegxl_parser.c > +++ b/libavcodec/jpegxl_parser.c > @@ -49,7 +49,7 @@ > #define clog1p(x) (ff_log2(x) + !!(x)) > #define unpack_signed(x) (((x) & 1 ? -(x)-1 : (x))/2) > #define div_ceil(x, y) (((x) - 1) / (y) + 1) > -#define vlm(a,b) (VLCElem){.sym = (a), .len = (b)} > +#define vlm(a,b) {.sym = (a), .len = (b)} > > typedef struct JXLHybridUintConf { > int split_exponent; Applied (last night, but forgot to reply). Thanks. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".