[FFmpeg-devel] [PATCH] doc/examples/muxing: make compatible with C++

Geek.Song ffmpeg at gmail.com
Fri Mar 14 11:01:07 CET 2014


On Fri, Mar 14, 2014 at 5:17 PM, Stefano Sabatini <stefasab at gmail.com>wrote:

> On date Thursday 2014-03-13 23:10:40 +0100, Clément Boesch encoded:
> > On Thu, Mar 13, 2014 at 06:03:49PM +0100, Michael Niedermayer wrote:
> [...]
> > I don't think supporting examples compilation with g++ is worth the
> > effort. Actually, I believe it's harmful because people doing C will
> start
> > copying naive/broken/c++ patterns (are you going to cast malloc() return
> > values too?).
>
> +1, we decided FFmpeg was C and we shouldn't try to make half-baked
> attempts at pretending it is C++ or the next looks-almost-like-c
> thing.
>

+1, Why do we pollute the code with C++?

-----------------------------------------------------------------------------------------
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2


More information about the ffmpeg-devel mailing list