[FFmpeg-devel] [PATCH] avutil/avstring: Use proper types

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Mar 7 00:44:34 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavutil/avstring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index 8751ce5576..2071dd36a5 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -345,7 +345,7 @@ int av_escape(char **dst, const char *src, const char *special_chars,
 int av_match_name(const char *name, const char *names)
 {
     const char *p;
-    int len, namelen;
+    size_t len, namelen;
 
     if (!name || !names)
         return 0;
-- 
2.40.1



More information about the ffmpeg-devel mailing list