[FFmpeg-cvslog] r12176 - trunk/libavfilter/avfilter.h

michael subversion
Thu Feb 21 23:33:40 CET 2008


Author: michael
Date: Thu Feb 21 23:33:40 2008
New Revision: 12176

Log:
Ascii art to explain what avfilter_formats_changeref() does.


Modified:
   trunk/libavfilter/avfilter.h

Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h	(original)
+++ trunk/libavfilter/avfilter.h	Thu Feb 21 23:33:40 2008
@@ -197,6 +197,19 @@ void avfilter_formats_ref(AVFilterFormat
  */
 void avfilter_formats_unref(AVFilterFormats **ref);
 
+/**
+ *
+ *         Before                                 After
+ *   ________                         ________
+ *  |   f    |<---------.            |   f    |<---------.
+ *  |  ____  |       ___|___         |  ____  |       ___|___
+ *  | |refs| |      |   |   |        | |refs| |      |   |   |   NULL
+ *  | |* *--------->|*oldref|        | |* *--------->|*newref|     ^
+ *  | |* * | |      |_______|        | |* * | |      |_______|  ___|___
+ *  | |____| |                       | |____| |                |   |   |
+ *  |________|                       |________|                |*oldref|
+ *                                                             |_______|
+ */
 void avfilter_formats_changeref(AVFilterFormats **oldref,
                                 AVFilterFormats **newref);
 




More information about the ffmpeg-cvslog mailing list