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

Michael Niedermayer michaelni
Fri Mar 23 00:58:42 CET 2007


Hi

On Thu, Mar 22, 2007 at 07:33:56PM -0400, Glenn Maynard wrote:
> On Thu, Mar 22, 2007 at 06:00:31PM -0500, Rich Felker wrote:
> > 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
> > exclusive..).
> 
> C++ compatibility is just as important to many people as threadsafety
> and portability.  Clearly, not to Mans (and if memory serves, not to you,
> either), just as portability isn't important to people programming MFC
> applications in Windows--but it is to many, and it's very easy to make
> it work, unlike, say, Ada bindings.

well, what exactly would be needed to make libav* headers work in C++ ?

if there is some volunteer who is willing to ensure that the headers
work in C++ (that person has to subscribe to svnlog and review all
future changes to the public headers to ensure things dont break, that
also means the person has to know C and C++ well to recognize problems)

then and assuming no messy changes are needed i think we could add
C++ support (back)

i do think direct C++ support is nice to have but OTOH unmaintained
C++ support which is half broken half the time is worse then none

also we support pascal through some headers maintained by some "external"
developer (see the docs) C++ (and ada :) ) could be supported similarely

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070323/52c4e66c/attachment.pgp>



More information about the ffmpeg-devel mailing list