}
if (!xendptr || *xendptr || !yendptr || *yendptr ||
- !wendptr || *wendptr || !hendptr || !hendptr
+ !wendptr || *wendptr || !hendptr || *hendptr
) {
return ff_filter_frame(ctx->outputs[0], in);
}
if (cover->cover_frame)
av_freep(&cover->cover_frame->data[0]);
+ av_frame_free(&cover->cover_frame);
}
static av_cold int init(AVFilterContext *ctx)