diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-24 23:58:48 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-24 23:58:48 +0000 |
commit | 1433c4abf2f9ce787a7a5ccd4d4a07fd49a829c4 (patch) | |
tree | cb3178a4ec47263e8e593aef564ba00dbd7e2439 /libavfilter/avfilter.c | |
parent | 73e2247d32efd2383dbac0fb7f82024c060330ba (diff) | |
download | ffmpeg-1433c4abf2f9ce787a7a5ccd4d4a07fd49a829c4.tar.gz |
Implement avfilter_next().
Originally committed as revision 20607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 05a0fea47e..5bd19b7719 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -354,6 +354,11 @@ int avfilter_register(AVFilter *filter) return 0; } +AVFilter **av_filter_next(AVFilter **filter) +{ + return filter ? ++filter : ®istered_avfilters[0]; +} + void avfilter_uninit(void) { memset(registered_avfilters, 0, sizeof(registered_avfilters)); |