summaryrefslogtreecommitdiff
path: root/libavfilter/graphparser.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-08 12:32:39 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-08 12:32:39 +0000
commit24de0edbd589b7cb0da51260073a1a28bb6a2619 (patch)
treef808dd5e52a5cd81742f76e2b722e4dde981792c /libavfilter/graphparser.c
parent7b3937360efd16ae87fa44fc4633a74913b5ac4d (diff)
Rename avfilter_destroy() as avfilter_free().
The new name is shorter and more consistent with the FFmpeg API, and sounds less evil. Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 1bce3bcbb5..4266e8134d 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -118,7 +118,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind
}
if ((ret = avfilter_graph_add_filter(ctx, *filt_ctx)) < 0) {
- avfilter_destroy(*filt_ctx);
+ avfilter_free(*filt_ctx);
return ret;
}