[Ffmpeg-devel] [PATCH] rtp.h warning
Fri Mar 23 00:00:31 CET 2007
On Thu, Mar 22, 2007 at 05:37:51PM -0400, Glenn Maynard wrote:
> On Thu, Mar 22, 2007 at 09:13:46PM +0000, M?ns Rullg?rd wrote:
> > > 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.
> They need not give a damn about threadsafety or portability, either, but
> failure to do so will affect the opinion of the many people who need them.
> In my opinion, a good C library requires all of threadsafety, portability
> and a clean C++ export. Opinions differ, obviously.
Threadsafety is a direct result of not using global variables, which
are already inappropriate for a library to use. I don't see what C++
has to do with portability (in fact the two are usually mutually
More information about the ffmpeg-devel