mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user