[Ffmpeg-devel] [PATCH] Dead code cleanup - C++

Isaac Richards ijr
Fri Jan 26 06:08:55 CET 2007


On Thursday 25 January 2007 11:15 pm, Diego Biurrun wrote:
> On Fri, Jan 26, 2007 at 01:24:39PM +1030, Yuri Vilmanis wrote:
> > Removed some dead code relating to C++. As no part of the codebase
> > will ever be seen by a C++ compiler, any code protected by
> > #ifdef__cplusplus will *never* get past the preprocessor, and so can
> > be safely removed. The files in which these guards appear are not
> > valid C++ anyway, so removing these references to C++ should reduce
> > future confusion on this issue. The C++ wrapper "fobs" (or other
> > C++ wrappers I'm not aware of) can be used by anyone requiring C++
> > support.
>
> OK to apply this patch?

You'll require changes in any C++ project currently using libav* if you do 
that.  Pretty much everything in that paragraph you quoted is wrong.

Isaac




More information about the ffmpeg-devel mailing list