[FFmpeg-devel] [PATCH] lavf/avio: do not include bprint.h.

Michael Niedermayer michaelni at gmx.at
Fri Jul 25 05:45:20 CEST 2014


On Thu, Jul 24, 2014 at 02:56:04PM +0200, Michael Niedermayer wrote:
> On Thu, Jul 24, 2014 at 09:34:10AM +0200, Nicolas George wrote:
> > C++ chokes on the definition of AVBPrint.
> > Including avio.h from c++ code used to work.
> > Fix trac ticket #3800.
> > 
> > Signed-off-by: Nicolas George <george at nsup.org>
> > ---
> >  libavformat/avio.h    | 3 +--
> >  libavformat/aviobuf.c | 1 +
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> LGTM

i took the liberty to apply this as i suspect it fixes an issue
zeronoe reported too
That is: <Zeranoe> Getting a compile error with the latest FFmpeg "libavutil/bprint.h:35:48: error: types may not be defined in 'sizeof' expressions"

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140725/2ee107fd/attachment.asc>


More information about the ffmpeg-devel mailing list