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
Showing the changes to libavfilter/graphparser.c (1 of 6 files). Show all
Unified · Split
| @@ -118,7 +118,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind · 117 unmodified lines | |||
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | if ((ret = avfilter_graph_add_filter(ctx, *filt_ctx)) < 0) { | 120 | if ((ret = avfilter_graph_add_filter(ctx, *filt_ctx)) < 0) { |
| 121 | avfilter_destroy(*filt_ctx); | 121 | avfilter_free(*filt_ctx); |
| 122 | return ret; | 122 | return ret; |
| 123 | } | 123 | } |
| 124 | 124 | ||