[FFmpeg-devel] [PATCH] bprint: add av_bprint_bytes().

Clément Bœsch ubitux at gmail.com
Wed Jun 13 22:33:44 CEST 2012


On Wed, Jun 13, 2012 at 09:09:13PM +0200, Nicolas George wrote:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavutil/bprint.c    |   22 ++++++++++++++++++++++
>  libavutil/bprint.h    |    8 ++++++++
>  tests/ref/fate/bprint |    1 +
>  3 files changed, 31 insertions(+)
> 
> 
> Looks it may be useful at some places, for example in Clément's SAMI
> demuxer.
> 

Could you be a bit more specific? Also, that may be a naive question but
how would that be better than using av_bprintf(b, "%*s", 3, "Hello")?

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120613/cf7c5744/attachment.asc>


More information about the ffmpeg-devel mailing list