Browse Source

Ascii art to explain what avfilter_formats_changeref() does.

Originally committed as revision 12176 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
b9c2fb3444
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      libavfilter/avfilter.h

+ 13
- 0
libavfilter/avfilter.h View File

@@ -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);



Loading…
Cancel
Save