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 7FBE04711B for ; Mon, 28 Aug 2023 07:19:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 54E0D68C49B; Mon, 28 Aug 2023 10:19:31 +0300 (EEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3106768068C for ; Mon, 28 Aug 2023 10:19:23 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693207169; x=1724743169; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DLjvCnlyfDlge+DNMwjG89ZsIe5rFYwSEYKLWng8kUM=; b=HB068v2EBmeYU2y5Ab4knposa3C6YYTo13aNvC/5hWs3RQeQ4+n068NQ qr7Zo+toAVfy9PN8e5KOyF+7+Y39/EN8JJSf+KAASV0uFGiGN8eH/lgn6 +xmPsgC1dCDXj5o8zwhSQAoaBidpgNZGBNQ57sqT6ynBPa9sv8w56mG2V okP6G2UiEdbj0YIxHEYSLnxC0cQ7PwYDBls8/cL97AvRL+LdfGY7TwSil gqmY3ytiyxoA675IcpSDgLJayFMJZQzH99bXiN4Lw9YYxJNXjtUMYHXah 20e8dkw0urzFXZCek/lLlBxEuek40Y2FFBgS9ZBM5A7S+afbMCGjfr2Lc g==; X-IronPort-AV: E=McAfee;i="6600,9927,10815"; a="355361763" X-IronPort-AV: E=Sophos;i="6.02,207,1688454000"; d="scan'208";a="355361763" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2023 00:19:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10815"; a="808181690" X-IronPort-AV: E=Sophos;i="6.02,207,1688454000"; d="scan'208";a="808181690" Received: from desktop-qn7n0nf.sh.intel.com (HELO localhost.localdomain) ([10.239.160.59]) by fmsmga004.fm.intel.com with ESMTP; 28 Aug 2023 00:19:08 -0700 From: Tong Wu To: ffmpeg-devel@ffmpeg.org Date: Mon, 28 Aug 2023 15:14:11 +0800 Message-ID: <20230828071411.1695-1-tong1.wu@intel.com> X-Mailer: git-send-email 2.41.0.windows.1 MIME-Version: 1.0 Subject: [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 Cc: Tong Wu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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; -- 2.41.0.windows.1 _______________________________________________ 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".