diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-21 22:33:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-21 22:33:40 +0000 |
commit | b9c2fb34445864e2adc7fe766aaae98f365a0a4a (patch) | |
tree | 82f4f36b38b55d1434918d1195decf1078d50616 /libavfilter | |
parent | eb30e86c7d2be4b7e85c45aae6ba6a45e759c71b (diff) | |
download | ffmpeg-streaming-b9c2fb34445864e2adc7fe766aaae98f365a0a4a.zip ffmpeg-streaming-b9c2fb34445864e2adc7fe766aaae98f365a0a4a.tar.gz |
Ascii art to explain what avfilter_formats_changeref() does.
Originally committed as revision 12176 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 850bf96..a3b6464 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -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); |