PR #23452 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23452
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23452.patch

Seperating out the URL case from string so user apps can more generically check 
URLs or load/pipe it into a sandbox

Signed-off-by: Michael Niedermayer <[email protected]>



>From 9a20691a0e3c2b7b513a5c548660697fdfa2e77f Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <[email protected]>
Date: Thu, 11 Jun 2026 14:51:11 +0200
Subject: [PATCH] WIP: avutil/opt: add AV_OPT_TYPE_URL

Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavutil/opt.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/opt.h b/libavutil/opt.h
index ab24fae777..c10e7cc901 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -333,6 +333,10 @@ enum AVOptionType{
      * Underlying C type is unsigned int.
      */
     AV_OPT_TYPE_UINT,
+    /**
+     * Identical to AV_OPT_TYPE_STRING but contains a URL
+     */
+    AV_OPT_TYPE_URL,
 
     /**
      * May be combined with another regular option type to declare an array
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to