Showing the changes to libavfilter/split.c (1 of 34 files). Show all
Unified · Split
| @@ -56,7 +56,7 @@ static av_cold int split_init(AVFilterContext *ctx) · 55 unmodified lines | |||
| 56 | if (!pad.name) | 56 | if (!pad.name) |
| 57 | return AVERROR(ENOMEM); | 57 | return AVERROR(ENOMEM); |
| 58 | 58 | ||
| 59 | if ((ret = ff_insert_outpad(ctx, i, &pad)) < 0) { | 59 | if ((ret = ff_append_outpad(ctx, &pad)) < 0) { |
| 60 | av_freep(&pad.name); | 60 | av_freep(&pad.name); |
| 61 | return ret; | 61 | return ret; |
| 62 | } | 62 | } |