Document avfilter_formats_ref() with some ascii art.

Originally committed as revision 12172 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent 6609f9e2ee
commit 09b63a42a5
  1. 13
      libavfilter/avfilter.h

@ -177,7 +177,18 @@ AVFilterFormats *avfilter_all_colorspaces(void);
*/ */
AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b); 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); void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref);
/** /**

Loading…
Cancel
Save