summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-21 22:02:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-21 22:02:53 +0000
commit09b63a42a5b837c241abfec486baf22bfedf3f72 (patch)
tree2da75834b46b4b12b0883c41aa0f7e10827ccb0a
parent6609f9e2eeaf86f1d911b79feb8fc209ad99e9ec (diff)
downloadffmpeg-09b63a42a5b837c241abfec486baf22bfedf3f72.tar.gz
Document avfilter_formats_ref() with some ascii art.
Originally committed as revision 12172 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/avfilter.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 911cdd6226..49d90cf522 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -177,7 +177,18 @@ AVFilterFormats *avfilter_all_colorspaces(void);
*/
AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b);
-/** Adds *ref as a new reference to f */
+/**
+ * Adds *ref as a new reference to f.
+ * That is the pointers will point like in the ascii art below:
+ * ________
+ * | f |<--------.
+ * | ____ | |
+ * | |refs| | __|_
+ * | |* * | | | | |
+ * | |* *--------->|*ref|
+ * | |____| | |____|
+ * |________|
+ */
void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref);
/**