[FFmpeg-devel] [PATCH] avfilter/vf_tile: add init_padding option

Moritz Barsnick barsnick at gmx.net
Thu Nov 30 16:10:48 EET 2017


On Wed, Nov 29, 2017 at 20:29:49 +0100, Paul B Mahol wrote:
> +    { "init_padding", " set how many frames to initially pad", OFFSET(init_padding),
                          ^ space
Some whitespace slipped in there. 

> +        if (tile->first_frame)
> +            tile->first_frame = 0;

Wouldn't
           tile->first_frame = 0;
be faster and easier? Or did you mean to use different variables in the
check and the assignment?

Moritz


More information about the ffmpeg-devel mailing list