From ba3968784feafd438cd9cdb7e172ad8e42f1ece6 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 10:18:16 +0800 Subject: [PATCH 01/13] Logo (Image): fixes image renders but quickly gets wiped Regression from v2.64.0 Fixes: #2374 --- src/logo/logo.c | 57 +++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/src/logo/logo.c b/src/logo/logo.c index 9f2c89244f..053c24cf1d 100644 --- a/src/logo/logo.c +++ b/src/logo/logo.c @@ -461,7 +461,7 @@ static bool updateLogoPath(void) { return true; } - #if !FF_MODULE_DISABLE_MEDIA +#if !FF_MODULE_DISABLE_MEDIA if (ffStrbufIgnCaseEqualS(&options->source, "media-cover")) { const FFMediaResult* media = ffDetectMedia(true); if (media->cover.length == 0) { @@ -470,7 +470,7 @@ static bool updateLogoPath(void) { ffStrbufSet(&options->source, &media->cover); return true; } - #endif +#endif FF_STRBUF_AUTO_DESTROY fullPath = ffStrbufCreateA(128); if (ffPathExpandEnv(options->source.chars, &fullPath) && ffPathExists(fullPath.chars, FF_PATHTYPE_FILE)) { @@ -639,7 +639,7 @@ void ffLogoPrint(void) { } if (!ffStrbufEndsWithIgnCaseS(&options->source, ".txt")) { - #if !FF_MODULE_DISABLE_TERMINAL +#if !FF_MODULE_DISABLE_TERMINAL const FFTerminalResult* terminal = ffDetectTerminal(); bool supportsIterm2 = ffStrbufEqualS(&terminal->prettyName, "iTerm"); @@ -655,15 +655,15 @@ void ffLogoPrint(void) { ffStrbufIgnCaseEqualS(&terminal->processName, "wezterm") || ffStrbufIgnCaseEqualS(&terminal->processName, "wayst") || ffStrbufIgnCaseEqualS(&terminal->processName, "ghostty") || -#ifdef __APPLE__ + #ifdef __APPLE__ ffStrbufIgnCaseEqualS(&terminal->processName, "WarpTerminal") || -#else + #else ffStrbufIgnCaseEqualS(&terminal->processName, "warp") || -#endif + #endif false; - #else +#else bool supportsKitty = false; - #endif +#endif // Try to load the logo as an image. If it succeeds, print it and return. if (logoPrintImageIfExists(supportsKitty ? FF_LOGO_TYPE_IMAGE_KITTY : FF_LOGO_TYPE_IMAGE_CHAFA, false)) { @@ -685,33 +685,34 @@ void ffLogoPrint(void) { } void ffLogoPrintLine(void) { - uint32_t printedLineWidth = 0; FFLogoLineCacheState* cache = &instance.state.logoLineCache; FFOptionsLogo* logo = &instance.config.logo; - if (cache->lines.length > 0 && (logo->position == FF_LOGO_POSITION_LEFT || logo->position == FF_LOGO_POSITION_RIGHT) && cache->nextLine < cache->lines.length) { - FFLogoCachedLine* line = FF_LIST_GET(FFLogoCachedLine, cache->lines, cache->nextLine); + if (cache->lines.length > 0) { + // Line cache is enabled. Always move cursor with whitespaces to make lolcat happy + if (cache->nextLine < cache->lines.length) { + // Print logo line and move cursor + FFLogoCachedLine* line = FF_LIST_GET(FFLogoCachedLine, cache->lines, cache->nextLine); - if (logo->position == FF_LOGO_POSITION_RIGHT && line->chars.length > 0) { - printf("\033[9999999C\033[%uD", cache->rightOffset); - ffStrbufWriteTo(&line->chars, stdout); - fputs("\033[G", stdout); - } else { - ffStrbufWriteTo(&line->chars, stdout); - printedLineWidth = line->width; - } + if (logo->position == FF_LOGO_POSITION_RIGHT) { + printf("\033[9999999C\033[%uD", cache->rightOffset); + ffStrbufWriteTo(&line->chars, stdout); - ++cache->nextLine; - } + fputs("\033[G", stdout); + } else { + ffStrbufWriteTo(&line->chars, stdout); - if (instance.state.logoWidth > 0) { - if (instance.config.logo.position == FF_LOGO_POSITION_LEFT) { - uint32_t remaining = instance.state.logoWidth; - remaining = printedLineWidth < remaining ? remaining - printedLineWidth : 0; - ffPrintCharTimes(' ', remaining); - } else { - printf("\033[%uC", instance.state.logoWidth); + uint32_t remaining = instance.state.logoWidth; + remaining = line->width < remaining ? remaining - line->width : 0; + ffPrintCharTimes(' ', remaining); + } + ++cache->nextLine; + } else if (logo->position == FF_LOGO_POSITION_LEFT) { + // Move cursor to the start position + ffPrintCharTimes(' ', instance.state.logoWidth); } + } else if (instance.state.logoWidth > 0) { + printf("\033[%uC", instance.state.logoWidth); } if (instance.state.dynamicInterval > 0) { From 6b9f5946207fc821548f0029b915f85d90bab3d3 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 14:46:27 +0800 Subject: [PATCH 02/13] Global: prevents ascii logo from being overwritten in `--dynamic-interval` mode --- src/fastfetch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fastfetch.c b/src/fastfetch.c index a82d853ebe..dcd62db6a2 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -765,9 +765,11 @@ static void run(FFdata* data) { } if (instance.state.dynamicInterval > 0) { + ffLogoPrintRemaining(); // `logoLineCacheClear` inside so that ffLogoPrintLine will use `\e[nC` to move the cursor to the right position instead of reprinting the logo + fputs("\e[J", stdout); // Clear from cursor to the end of the screen to prevent artifacts when the new output is shorter than the previous one fflush(stdout); ffTimeSleep(instance.state.dynamicInterval); - fputs("\e[H", stdout); + fputs("\e[H", stdout); // Move cursor to the top left corner to overwrite the previous output } else { break; } From 53c2d07161bc6cc75af2c91d7eb3fcd4ff3741fe Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 14:51:50 +0800 Subject: [PATCH 03/13] Release: v2.64.2 --- CHANGELOG.md | 8 ++++++++ CMakeLists.txt | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d193851f44..d7d4d0e7a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 2.64.2 + +Bugfixes: +* Fixes image renders but quickly gets wiped (#2374) + * Regression from v2.64.0 +* Fixes ASCII logo from being overwritten in `--dynamic-interval` mode + * Regression from v2.64.0 + # 2.64.1 Features: diff --git a/CMakeLists.txt b/CMakeLists.txt index 56dafd95f7..eb16317aba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url project(fastfetch - VERSION 2.64.1 + VERSION 2.64.2 LANGUAGES C DESCRIPTION "Fast neofetch-like system information tool" HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch" From e79aaf5ce17d7511af4ee1d21e802e6233606fe6 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 15:27:15 +0800 Subject: [PATCH 04/13] Global: don't clear line in `--logo-position right` --- src/logo/logo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/logo/logo.c b/src/logo/logo.c index 053c24cf1d..571f1aac97 100644 --- a/src/logo/logo.c +++ b/src/logo/logo.c @@ -715,8 +715,9 @@ void ffLogoPrintLine(void) { printf("\033[%uC", instance.state.logoWidth); } - if (instance.state.dynamicInterval > 0) { + if (instance.state.dynamicInterval > 0 && logo->position == FF_LOGO_POSITION_LEFT) { fputs("\033[K", stdout); // Clear to the end of the line + // Note that we don't clear the line when the logo is on the right, as it will also clear the logo itself } ++instance.state.keysHeight; From 20aabdfd78ccbd8931749a78aa57ae8863497820 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 15:27:25 +0800 Subject: [PATCH 05/13] Global: resets `keysHeight` after every refresh --- src/fastfetch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fastfetch.c b/src/fastfetch.c index dcd62db6a2..dc5c1797d8 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -770,6 +770,7 @@ static void run(FFdata* data) { fflush(stdout); ffTimeSleep(instance.state.dynamicInterval); fputs("\e[H", stdout); // Move cursor to the top left corner to overwrite the previous output + instance.state.keysHeight = 0; // Reset keysHeight so `ffLogoPrintRemaining` will recalculate it } else { break; } From 727fbc02767520e44e65eef1b407eeb89ea5aa67 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 15:29:00 +0800 Subject: [PATCH 06/13] Doc: updates changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7d4d0e7a5..74b4e0d0e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # 2.64.2 Bugfixes: -* Fixes image renders but quickly gets wiped (#2374) +* Fixes image rendering being wiped quickly (#2374) * Regression from v2.64.0 * Fixes ASCII logo from being overwritten in `--dynamic-interval` mode * Regression from v2.64.0 From da568c986eff92d438990fd039f63d4915960014 Mon Sep 17 00:00:00 2001 From: Valeriy Kosikhin Date: Fri, 5 Jun 2026 10:07:57 +0300 Subject: [PATCH 07/13] Logo (Builtin): update OpenWrt logo Update the large logo for OpenWrt based on the official branding. Add a small logo version. Keep the old logo as openwrt_old.txt Signed-off-by: Valeriy Kosikhin --- src/logo/ascii/o.inc | 27 +++++++++++++++++++++++++++ src/logo/ascii/o/openwrt.txt | 27 ++++++++++++++++++--------- src/logo/ascii/o/openwrt_old.txt | 9 +++++++++ src/logo/ascii/o/openwrt_small.txt | 9 +++++++++ 4 files changed, 63 insertions(+), 9 deletions(-) create mode 100644 src/logo/ascii/o/openwrt_old.txt create mode 100644 src/logo/ascii/o/openwrt_small.txt diff --git a/src/logo/ascii/o.inc b/src/logo/ascii/o.inc index 0ddb7fdf42..d54bee8950 100644 --- a/src/logo/ascii/o.inc +++ b/src/logo/ascii/o.inc @@ -291,6 +291,33 @@ static const FFlogo O[] = { { .names = { "openwrt" }, .lines = FASTFETCH_DATATEXT_LOGO_OPENWRT, + .colors = { + FF_COLOR_FG_DEFAULT, + FF_COLOR_FG_BLUE, + }, + .colorKeys = FF_COLOR_FG_BLUE, + .colorTitle = FF_COLOR_FG_DEFAULT, + }, + #endif + #ifdef FASTFETCH_DATATEXT_LOGO_OPENWRT_SMALL + // OpenWrtSmall + { + .names = { "openwrt_small" }, + .type = FF_LOGO_LINE_TYPE_SMALL_BIT, + .lines = FASTFETCH_DATATEXT_LOGO_OPENWRT_SMALL, + .colors = { + FF_COLOR_FG_DEFAULT, + FF_COLOR_FG_BLUE, + }, + .colorKeys = FF_COLOR_FG_BLUE, + .colorTitle = FF_COLOR_FG_DEFAULT, + }, + #endif + #ifdef FASTFETCH_DATATEXT_LOGO_OPENWRT_OLD + // OpenWrtOld + { + .names = { "openwrt_old" }, + .lines = FASTFETCH_DATATEXT_LOGO_OPENWRT_OLD, .colors = { FF_COLOR_FG_BLUE, }, diff --git a/src/logo/ascii/o/openwrt.txt b/src/logo/ascii/o/openwrt.txt index 47e4e1944e..cbb4c0b9df 100644 --- a/src/logo/ascii/o/openwrt.txt +++ b/src/logo/ascii/o/openwrt.txt @@ -1,9 +1,18 @@ - _______ -| |.-----.-----.-----. -| - || _ | -__| | -|_______|| __|_____|__|__| - |__| - ________ __ -| | | |.----.| |_ -| | | || _|| _| -|________||__| |____| \ No newline at end of file + ..,,.. + ,;odOMMMMMMMMObo:. + ,odOMMMMMO""''""OMMMMMObo. +.dMMMM" .,,. "OMMMb, + '0" ,;ddMMMMMMMMbb:. "0' + oOMMMMO""''""OMMMMOo + $2;. $1'0" .,,. "0' $2.: + .OMM* $1.odMMMMMMbo. $2*MMO. + MMMO $1"0"````"0" $2OMMM +iOMM $1.oo. $2MMMi +OMMl $1:MMMM: $2lMMO +iMMM $1'oo' $2MMMi + OMMb $2dMMO + 'OMMO. ,OMMO' + "MMMb. ,dMMM" + "MMMMbgo-,,-ogdMMMM" + "*MMMMMMMMMM*" + `'""'` \ No newline at end of file diff --git a/src/logo/ascii/o/openwrt_old.txt b/src/logo/ascii/o/openwrt_old.txt new file mode 100644 index 0000000000..47e4e1944e --- /dev/null +++ b/src/logo/ascii/o/openwrt_old.txt @@ -0,0 +1,9 @@ + _______ +| |.-----.-----.-----. +| - || _ | -__| | +|_______|| __|_____|__|__| + |__| + ________ __ +| | | |.----.| |_ +| | | || _|| _| +|________||__| |____| \ No newline at end of file diff --git a/src/logo/ascii/o/openwrt_small.txt b/src/logo/ascii/o/openwrt_small.txt new file mode 100644 index 0000000000..328cbeb472 --- /dev/null +++ b/src/logo/ascii/o/openwrt_small.txt @@ -0,0 +1,9 @@ + ..,.. + ,odM"""""Mbo, + `.odMMMMMbo.` + $2d,$1" ,mmm, "$2,b +iM $1" . " $2Mi +Ml $1dMb $2lM +'M, $1' $2.M' + "0b. ,d0" + `"WWWWW"` \ No newline at end of file From a139a8c4a52afed7e2e52a3b2ca8dff80b197d8a Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 16:22:04 +0800 Subject: [PATCH 08/13] Doc: updates changelog [ci skip] --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74b4e0d0e4..250a62ca75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ Bugfixes: * Fixes ASCII logo from being overwritten in `--dynamic-interval` mode * Regression from v2.64.0 +Logos: +* Updates OpenWrt and adds a small variant (#2376) + * The old one is renamed to `openwrt_old` + # 2.64.1 Features: From 9fe7d6dbfa24c05557b9782c5d3347294220c0e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 5 Jun 2026 16:34:02 +0800 Subject: [PATCH 09/13] Logo: addresses review comments of AI --- CHANGELOG.md | 2 +- src/logo/ascii/o.inc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 250a62ca75..06be822ca8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ Bugfixes: * Fixes image rendering being wiped quickly (#2374) * Regression from v2.64.0 -* Fixes ASCII logo from being overwritten in `--dynamic-interval` mode +* Fixes ASCII logo being overwritten in `--dynamic-interval` mode * Regression from v2.64.0 Logos: diff --git a/src/logo/ascii/o.inc b/src/logo/ascii/o.inc index d54bee8950..b1840dc28e 100644 --- a/src/logo/ascii/o.inc +++ b/src/logo/ascii/o.inc @@ -317,6 +317,7 @@ static const FFlogo O[] = { // OpenWrtOld { .names = { "openwrt_old" }, + .type = FF_LOGO_LINE_TYPE_ALTER_BIT, .lines = FASTFETCH_DATATEXT_LOGO_OPENWRT_OLD, .colors = { FF_COLOR_FG_BLUE, From 70e67177feef211d65c6b9b01e97072f78f54d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 5 Jun 2026 17:22:16 +0800 Subject: [PATCH 10/13] Common (Lua): supports `BINARY_LINK_TYPE=dynamic` --- src/common/impl/lua.c | 7 ++++--- src/common/lua.h | 37 ++++++++++++++++++++++--------------- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/src/common/impl/lua.c b/src/common/impl/lua.c index 1f4050a005..e1384c5e37 100644 --- a/src/common/impl/lua.c +++ b/src/common/impl/lua.c @@ -9,9 +9,7 @@ static yyjson_mut_val* lua2yyjson(lua_State* L, int idx, yyjson_mut_doc* doc, in if (__builtin_expect(depth > 15, false)) { yyjson_mut_doc_free(doc); lua_pushlstring( - L, "yyjson: recursion depth exceeded; possible circular reference", - strlen("yyjson: recursion depth exceeded; possible circular reference") - ); + L, "yyjson: recursion depth exceeded; possible circular reference", strlen("yyjson: recursion depth exceeded; possible circular reference")); lua_error(L); // noreturn __builtin_unreachable(); } @@ -180,6 +178,8 @@ const char* ffLuaLoadState() { FF_LIBRARY_LOAD_SYMBOL_MESSAGE(liblua, luaopen_string) FF_LIBRARY_LOAD_SYMBOL_MESSAGE(liblua, luaopen_table) #endif + + #if !FF_DISABLE_DLOPEN FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(liblua, luaData, luaL_checkany) FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(liblua, luaData, luaL_loadbufferx) FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(liblua, luaData, luaL_tolstring) @@ -208,6 +208,7 @@ const char* ffLuaLoadState() { FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(liblua, luaData, lua_tolstring) FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(liblua, luaData, lua_tonumberx) FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(liblua, luaData, lua_type) + #endif lua_State* L = ffluaL_newstate(); if (L == NULL) { diff --git a/src/common/lua.h b/src/common/lua.h index 0c5917cd4d..06343c40e7 100644 --- a/src/common/lua.h +++ b/src/common/lua.h @@ -3,16 +3,19 @@ #include "fastfetch.h" #if FF_HAVE_LUA - // Hack. LUA_API is defined as extern which prevents us from implementing the functions ourselves. - #include - #undef LUA_API - #undef LUALIB_API - #undef LUAMOD_API - #define LUA_API static inline - #define LUALIB_API LUA_API - #define LUAMOD_API LUA_API - - #pragma GCC diagnostic ignored "-Wunused-function" + #if !FF_DISABLE_DLOPEN + // Hack. LUA_API is defined as extern which prevents us from implementing the functions ourselves. + #include + #undef LUA_API + #undef LUALIB_API + #undef LUAMOD_API + #define LUA_API static inline + #define LUALIB_API LUA_API + #define LUAMOD_API LUA_API + + #pragma GCC diagnostic ignored "-Wunused-function" + #endif + #include #include #include @@ -24,6 +27,7 @@ #include "common/library.h" extern struct FFLuaData { + #if !FF_DISABLE_DLOPEN FF_LIBRARY_SYMBOL(luaL_checkany) FF_LIBRARY_SYMBOL(luaL_loadbufferx) FF_LIBRARY_SYMBOL(luaL_tolstring) @@ -52,13 +56,13 @@ extern struct FFLuaData { FF_LIBRARY_SYMBOL(lua_tolstring) FF_LIBRARY_SYMBOL(lua_tonumberx) FF_LIBRARY_SYMBOL(lua_type) + #endif lua_State* L; bool inited; } luaData; -const char* ffLuaLoadState(); - + #if !FF_DISABLE_DLOPEN FF_A_ALWAYS_INLINE void(lua_settop)(lua_State* L, int idx) { return luaData.fflua_settop(L, idx); } @@ -148,11 +152,11 @@ FF_A_ALWAYS_INLINE int(lua_rawgeti)(lua_State* L, int idx, lua_Integer n) { } FF_A_ALWAYS_INLINE - #if LUA_VERSION_NUM > 503 + #if LUA_VERSION_NUM > 503 lua_Unsigned - #else + #else size_t - #endif + #endif (lua_rawlen)(lua_State* L, int idx) { return luaData.fflua_rawlen(L, idx); } @@ -176,5 +180,8 @@ FF_A_ALWAYS_INLINE lua_Number(lua_tonumberx)(lua_State* L, int idx, int* isnum) FF_A_ALWAYS_INLINE int(lua_type)(lua_State* L, int idx) { return luaData.fflua_type(L, idx); } + #endif + +const char* ffLuaLoadState(void); #endif From 4d3b6c3b1ba07274ff80c1cf8e6437e15e8ffc67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 5 Jun 2026 17:49:49 +0800 Subject: [PATCH 11/13] Common (QJS): supports `BINARY_LINK_TYPE=dynamic` --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index eb16317aba..835c691ab4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1638,6 +1638,11 @@ function(ff_lib_enable VARNAME PKGCONFIG_NAMES CMAKE_NAME) # [CMAKE_TARGET_NAME] set(${VARNAME}_LIBRARIES ${_FF_CMAKE_TARGET}) endif() endif() + + if(NOT BINARY_LINK_TYPE STREQUAL "dlopen") + # INTERFACE_LINK_LIBRARIES doesn't expose libvarname.a + target_link_libraries(libfastfetch PRIVATE ${_FF_CMAKE_TARGET}) + endif() endif() else() set(${VARNAME}_INCLUDE_DIRS ${${CMAKE_NAME}_INCLUDE_DIRS}) From fc7a0a8484b8ad63081faccc49b40111d6eef5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 5 Jun 2026 18:05:54 +0800 Subject: [PATCH 12/13] Codec (Linux): supports `BINARY_LINK_TYPE=dynamic` --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 835c691ab4..c0211aeda7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1696,8 +1696,8 @@ ff_lib_enable(DRM "Libdrm" ) ff_lib_enable(VA - "libva" - "Libva" + "libva-drm" + "Libva-drm" ) ff_lib_enable(VDPAU "vdpau" From cbc84fda6c52a4db96cd531d6498e5a1163c8a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 5 Jun 2026 18:21:28 +0800 Subject: [PATCH 13/13] Common (Lua): addresses AI's feedback --- src/common/impl/lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/impl/lua.c b/src/common/impl/lua.c index e1384c5e37..ffc1d83c92 100644 --- a/src/common/impl/lua.c +++ b/src/common/impl/lua.c @@ -138,7 +138,7 @@ static int yyjsonEncode(lua_State* L) { } } -const char* ffLuaLoadState() { +const char* ffLuaLoadState(void) { if (luaData.inited) { if (luaData.L == NULL) { return "Lua library is not available";