[FFmpeg-devel] [PATCH] Fix compilation when only MPEG-1encoder is enabled
Fri May 11 10:53:11 CEST 2007
On Thu, May 10, 2007 at 04:06:24PM +0200, Panagiotis Issaris wrote:
> 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?
If I run this through tcc:
if (0) bar();
it appears to generate both the call and a hard jump past it. It
fails to link if no bar() function is present.
More information about the ffmpeg-devel