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

Nicolas George george at nsup.org
Thu Oct 31 21:39:17 CET 2013


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);

?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131031/6a405d6c/attachment.asc>


More information about the ffmpeg-devel mailing list