From 5df00a3394915b7d64a17db06aa4e33e3f3b549d Mon Sep 17 00:00:00 2001 From: Carter Li Date: Wed, 13 May 2026 13:14:21 +0800 Subject: [PATCH] Global: adds missing `#endif`s back --- src/options/general.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/options/general.c b/src/options/general.c index e10812742..ae268ccf7 100644 --- a/src/options/general.c +++ b/src/options/general.c @@ -53,7 +53,7 @@ const char* ffOptionsParseGeneralJsonConfig(FFOptionsGeneral* options, yyjson_va options->dsForceDrm = yyjson_get_bool(val) ? FF_DS_FORCE_DRM_TYPE_TRUE : FF_DS_FORCE_DRM_TYPE_FALSE; } } - +#endif else { return "Unknown general property"; } @@ -82,7 +82,7 @@ bool ffOptionsParseGeneralCommandLine(FFOptionsGeneral* options, const char* key options->dsForceDrm = FF_DS_FORCE_DRM_TYPE_FALSE; } } - +#endif else { return false; } @@ -130,4 +130,5 @@ void ffOptionsGenerateGeneralJsonConfig(FFdata* data, FFOptionsGeneral* options) yyjson_mut_obj_add_bool(doc, obj, "dsForceDrm", true); break; } +#endif }