History

avfilter/af_join: check ff_insert_inpad() for failure

Paul B Mahol committed 9 years ago

Commit db5604a1 parent 13f96391 file · +4 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/af_join.c+4−1
@@ -232,7 +232,10 @@ static av_cold int join_init(AVFilterContext *ctx) · 231 unmodified lines
232232
233233 pad.needs_fifo = 1;
234234
235− ff_insert_inpad(ctx, i, &pad);
235+ if ((ret = ff_insert_inpad(ctx, i, &pad)) < 0) {
236+ av_freep(&pad.name);
237+ return ret;
238+ }
236239 }
237240
238241 return 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t