From 936842f86100b5f14148fcb2d96673032df1a20f Mon Sep 17 00:00:00 2001 From: Romain Bouqueau Date: Wed, 26 Feb 2025 16:11:41 -0400 Subject: [PATCH] cosmetics --- include/gpac/filters.h | 2 +- share/scripts/jsf/mediaserver/init.js | 2 +- src/utils/downloader.c | 2 +- src/utils/module.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/gpac/filters.h b/include/gpac/filters.h index dbc7da71c7..682850d769 100644 --- a/include/gpac/filters.h +++ b/include/gpac/filters.h @@ -874,7 +874,7 @@ typedef enum GF_PROP_VEC4I = 13, /*! string property, memory is duplicated when setting the property and managed internally*/ GF_PROP_STRING = 14, - /*! string property, memory is NOT duplicated when setting the property but is then managed (and free) internally. + /*! string property, memory is NOT duplicated when setting the property but is then managed (and freed) internally. Only used when setting a property, the type then defaults to GF_PROP_STRING DO NOT USE the associate string field upon return from setting the property, it might have been destroyed*/ GF_PROP_STRING_NO_COPY= 15, diff --git a/share/scripts/jsf/mediaserver/init.js b/share/scripts/jsf/mediaserver/init.js index d34b0ebada..4cc01fc5ae 100644 --- a/share/scripts/jsf/mediaserver/init.js +++ b/share/scripts/jsf/mediaserver/init.js @@ -548,7 +548,7 @@ globalThis.cat_buffer = cat_buffer; let httpout = {}; httpout.on_request = (req) => { - //use pre-authentifcation done by server + //use pre-authentication done by server if (req.auth_code!=200) { req.reply = req.auth_code; req.send(); diff --git a/src/utils/downloader.c b/src/utils/downloader.c index 77b1aacc4a..af8b5f76cb 100644 --- a/src/utils/downloader.c +++ b/src/utils/downloader.c @@ -5534,7 +5534,7 @@ static GF_Err http_send_headers(GF_DownloadSession *sess) { return e; } - /*setup authentification*/ + /*setup authentication*/ strcpy(pass_buf, ""); sess->creds = gf_user_credentials_find_for_site( sess->dm, sess->server_name, NULL); if (sess->creds && sess->creds->valid) { diff --git a/src/utils/module.c b/src/utils/module.c index b113ad4d13..88b4d350e7 100644 --- a/src/utils/module.c +++ b/src/utils/module.c @@ -412,7 +412,7 @@ GF_BaseInterface *gf_modules_load(u32 whichplug, u32 InterfaceFamily) return ifce; err_exit: - GF_LOG(GF_LOG_DEBUG, GF_LOG_CORE, ("[Core] Load interface %s exit label, freing library...\n", inst->name)); + GF_LOG(GF_LOG_DEBUG, GF_LOG_CORE, ("[Core] Load interface %s exit label, freeing library...\n", inst->name)); gf_modules_unload_library(inst); GF_LOG(GF_LOG_DEBUG, GF_LOG_CORE, ("[Core] Load interface %s EXIT.\n", inst->name)); gf_mx_v(pm->mutex);