[FFmpeg-devel] [PATCH 05/11] libzvbi-teletextdec: use AVBPrint for whitespace cleanup

Marton Balint cus at passwd.hu
Fri Nov 1 00:19:44 CET 2013


On Thu, 31 Oct 2013, Nicolas George wrote:

> Le decadi 10 brumaire, an CCXXII, Marton Balint a écrit :
>> +            av_bprintf(&buf, "%s", "\n");
>
>> +        av_bprintf(&buf, "%s%s", vbi_text, "\n");
>
> Why not simply:
>
>    av_bprintf(&buf, "\n");
>
>    av_bprintf(&buf, "%s\n", vbi_text);
>
> ?

No particular reason. In fact, now I see why these lines felt strange :)
I will simplify them.

Thanks,
Marton


More information about the ffmpeg-devel mailing list