[FFmpeg-devel] [PATCH 1/3] avformat/avio: add avio_print_n_strings and avio_print

Nicolas George george at nsup.org
Wed Aug 7 00:37:10 EEST 2019


Marton Balint (12019-08-05):
> These functions can be used to print a variable number of strings consecutively
> to the IO context. Unlike av_bprintf, no temporery buffer is necessary.

I do not like this very much: the VA design disables type checking,
which makes it rather fragile, and the benefit is really minor.

Maybe add avio_print_string() to print a single string, and call it as
many times as necessary.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190806/16f35ed4/attachment.sig>


More information about the ffmpeg-devel mailing list