[FFmpeg-devel] [PATCH] Fix compilation when only MPEG-1encoder is enabled

Michael Niedermayer michaelni
Thu May 10 16:30:39 CEST 2007


On Thu, May 10, 2007 at 04:06:24PM +0200, Panagiotis Issaris wrote:
> I remember reading about this some years ago, but never saw anyone use
> it before the codec registration cleanup patches. One thing I'm
> wondering about though, could there be compilers that are stupid enough
> to just keep the code there even if the " if(0 and" is there?

gcc with -O0 ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- 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/20070510/8a71ae47/attachment.pgp>

More information about the ffmpeg-devel mailing list