[FFmpeg-devel] [PATCH 4/4] avcodec/ttmlenc: add support for region positioning and sizing

Jan Ekström jeebjp at gmail.com
Tue Mar 30 11:26:03 EEST 2021


On Tue, Mar 30, 2021 at 11:23 AM Jan Ekström <jeebjp at gmail.com> wrote:
>
> +    if (style->margin_l < 0 || style->margin_r < 0 || style->margin_v < 0) {
> +        av_log(avctx, AV_LOG_ERROR,
> +               "One or more negative margin values in subtitle style: "
> +               "left: %d, right: %d, vertical: %d!\n",
> +               style->margin_l, style->margin_r, style->margin_v);
> +    }

Just as I was sending this patch set, I noticed that this missed a
return. Fixed locally.

Jan


More information about the ffmpeg-devel mailing list