Description: make yav_arg_set static inline to fix undefined symbol at plugin load
 Define yav_arg_set as static inline: it is only used inside yav.c, and a
 plain C99/C23 inline function without extern does not provide an external
 definition, leaving an undefined symbol (yav_arg_set) in yav.so at -O0.
 yorick then fails to load the plugin with "undefined symbol: yav_arg_set".
Author: openKylinBot <openKylinBot@openkylin.top>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-09-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- yorick-av-0.0.6.orig/yav.c
+++ yorick-av-0.0.6/yav.c
@@ -47,7 +47,7 @@
 #define YAV_MAX_B_FRAMES 16
 #define YAV_PIX_FMT AV_PIX_FMT_YUV420P /* default pix_fmt */
 
-inline int yav_arg_set(int iarg) { return (iarg >= 0) && !yarg_nil(iarg); }
+static inline int yav_arg_set(int iarg) { return (iarg >= 0) && !yarg_nil(iarg); }
 
 typedef struct yav_ctxt {
   AVFrame *picture, *tmp_picture;
