Browse Source

avfilter/af_join: check ff_insert_inpad() for failure

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.4
Paul B Mahol 7 years ago
parent
commit
db5604ac26
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libavfilter/af_join.c

+ 4
- 1
libavfilter/af_join.c View File

@@ -232,7 +232,10 @@ static av_cold int join_init(AVFilterContext *ctx)

pad.needs_fifo = 1;

ff_insert_inpad(ctx, i, &pad);
if ((ret = ff_insert_inpad(ctx, i, &pad)) < 0) {
av_freep(&pad.name);
return ret;
}
}

return 0;


Loading…
Cancel
Save