1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-29 00:10:04 +02:00

Ascii art to explain what avfilter_formats_changeref() does.

Originally committed as revision 12176 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-21 22:33:40 +00:00
parent eb30e86c7d
commit b9c2fb3444

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