summaryrefslogtreecommitdiff
path: root/src/liana
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-09-08 13:54:36 -0400
committerAndrew Opalach <andrew@akon.city> 2025-09-08 13:54:36 -0400
commitce955da36daa278d5b331b3c97e228e733a5125e (patch)
treee221231e7c0da5324355af44a2e53f41166e3a05 /src/liana
parentcbbb0c16dc3d9c375ac2a18ca3d59cc308d41beb (diff)
downloadcamu-ce955da36daa278d5b331b3c97e228e733a5125e.tar.gz
camu-ce955da36daa278d5b331b3c97e228e733a5125e.tar.bz2
camu-ce955da36daa278d5b331b3c97e228e733a5125e.zip
Major FFmpeg build improvements
- Make build more compatible with a traditional linux environment. Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/liana')
-rw-r--r--src/liana/list_cmp.h6
1 files changed, 3 insertions, 3 deletions
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);