From ce955da36daa278d5b331b3c97e228e733a5125e Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 8 Sep 2025 13:54:36 -0400 Subject: Major FFmpeg build improvements - Make build more compatible with a traditional linux environment. Signed-off-by: Andrew Opalach --- src/liana/list_cmp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/liana') diff --git a/src/liana/list_cmp.h b/src/liana/list_cmp.h index ee9b3f8..30f6e7d 100644 --- a/src/liana/list_cmp.h +++ b/src/liana/list_cmp.h @@ -9,7 +9,7 @@ AL_IGNORE_WARNING("-Wunused-function") static void camu_db_num_from_path(str *path, s64 *id, s64 *index) { u32 last_slash = al_str_rfind(path, '/'); - if (last_slash == AL_WSTR_NPOS) { + if (last_slash == AL_WSTR_NO_POS) { return; } str sub = al_str_substr(path, last_slash + 1, path->length); @@ -20,7 +20,7 @@ static void camu_db_num_from_path(str *path, s64 *id, s64 *index) } u32 target = al_str_find(&sub, '_'); - if (target == AL_WSTR_NPOS) { + if (target == AL_WSTR_NO_POS) { return; } sub = al_str_substr(&sub, 0, target); @@ -32,7 +32,7 @@ static void camu_db_num_from_path(str *path, s64 *id, s64 *index) u32 ext_dot = al_str_rfind(path, '.'); u32 a_of_media = al_str_rfind(path, 'a'); - if (ext_dot == AL_WSTR_NPOS || a_of_media == AL_WSTR_NPOS) { + if (ext_dot == AL_WSTR_NO_POS || a_of_media == AL_WSTR_NO_POS) { return; } sub = al_str_substr(path, a_of_media + 1, ext_dot); -- cgit v1.2.3-101-g0448