Commit a25a60d7 authored by Tong Wu's avatar Tong Wu Committed by James Almer

avcodec/jpegxl_parser: fix a compile error

Compiler: MSVC 14.35.32215
Error type: error C2099: initializer is not a constant
Related commit: 0c0dd23f avcodec/jpegxl_parser: add JPEG XL parser
Signed-off-by: 's avatarTong Wu <tong1.wu@intel.com>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent d0a64f9a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment