Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/avfilter.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 850bf968f3..a3b646488a 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -197,6 +197,19 @@ void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref);
*/
void avfilter_formats_unref(AVFilterFormats **ref);
+/**
+ *
+ * Before After
+ * ________ ________
+ * | f |<---------. | f |<---------.
+ * | ____ | ___|___ | ____ | ___|___
+ * | |refs| | | | | | |refs| | | | | NULL
+ * | |* *--------->|*oldref| | |* *--------->|*newref| ^
+ * | |* * | | |_______| | |* * | | |_______| ___|___
+ * | |____| | | |____| | | | |
+ * |________| |________| |*oldref|
+ * |_______|
+ */
void avfilter_formats_changeref(AVFilterFormats **oldref,
AVFilterFormats **newref);