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

Michael Niedermayer michaelni at gmx.at
Thu Jun 14 00:53:53 CEST 2012


On Wed, Jun 13, 2012 at 10:33:44PM +0200, Clément Bœsch wrote:
> 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")?

btw, a bit off topic but can someone look at

http://fate.ffmpeg.org/report.cgi?time=20120613204422&slot=x86_64-debian-mingw32-gcc-4.6

the bprintf test fails on mingw

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120614/d7f17906/attachment.asc>


More information about the ffmpeg-devel mailing list