On 2/4/12, Andrey Utkin <[email protected]> wrote:
> ---
> libavfilter/vf_drawtext.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
> index 060c3a4..4c4ad5e 100644
> --- a/libavfilter/vf_drawtext.c
> +++ b/libavfilter/vf_drawtext.c
> @@ -493,8 +493,10 @@ static int dtext_prepare_text(AVFilterContext *ctx)
> dummy.code = code;
> glyph = av_tree_find(dtext->glyphs, &dummy, glyph_cmp, NULL);
> if (!glyph)
> + {
Wrong place for {
> ret = load_glyph(ctx, &glyph, code);
> - if (ret) return ret;
> + if (ret) return ret;
return part should be on separate line.
> + }
>
> y_min = FFMIN(glyph->bbox.yMin, y_min);
> y_max = FFMAX(glyph->bbox.yMax, y_max);
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel