[Ffmpeg-devel] [PATCH] rtp.h warning

Rich Felker dalias
Thu Mar 22 22:28:18 CET 2007


On Thu, Mar 22, 2007 at 09:13:46PM +0000, M?ns Rullg?rd wrote:
> Glenn Maynard <glenn at zewt.org> writes:
> 
> > On Thu, Mar 22, 2007 at 08:37:00PM +0000, M?ns Rullg?rd wrote:
> >> > It's a C library; the external headers should compile in C++ code.
> >> 
> >> It's a C library, its headers are C, and they need not at all compile
> >> as C++.  Despite the common misconception, C is *not* a subset of C++.
> >
> > What I meant was "a good C library should have interface headers that
> > compile in C++ code", which ffmpeg does.
> 
> A good C library need not give a damn more about C++ than it does
> about Fortran, Ada, or Common Lisp.

Agree strongly.

Rich




More information about the ffmpeg-devel mailing list