X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_tile.c;h=7e421a9721d206e8f7d9d42af4a73d776068d929;hb=7b6012efaae549b8e624876dba9550cb003f98b1;hp=439689a14d4663468e24aa0b2aca9f3515e42f03;hpb=ac4b5d86222006fa71ffe5922e1a34f1422507d8;p=ffmpeg diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c index 439689a14d4..7e421a9721d 100644 --- a/libavfilter/vf_tile.c +++ b/libavfilter/vf_tile.c @@ -63,7 +63,7 @@ static const AVOption tile_options[] = { { "color", "set the color of the unused area", OFFSET(rgba_color), AV_OPT_TYPE_COLOR, {.str = "black"}, .flags = FLAGS }, { "overlap", "set how many frames to overlap for each render", OFFSET(overlap), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, FLAGS }, - { "init_padding", " set how many frames to initially pad", OFFSET(init_padding), + { "init_padding", "set how many frames to initially pad", OFFSET(init_padding), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, FLAGS }, { NULL } }; @@ -262,6 +262,7 @@ static av_cold void uninit(AVFilterContext *ctx) { TileContext *tile = ctx->priv; + av_frame_free(&tile->out_ref); av_frame_free(&tile->prev_out_ref); }