[FFmpeg-devel] [PATCH] fix unconditional H264 references to SVQ3

matthieu castet castet.matthieu
Sun May 23 00:50:14 CEST 2010


Alexander Strange <astrange <at> ithinksw.com> writes:

> 
> 
> On May 22, 2010, at 8:54 AM, M?ns Rullg?rd wrote:
> 
> > 
> > Turning off all optimisation is not supported.  Specifically, dead
> > code elimination must always be performed.
Doesn't configure support --disable-optimizations ?

> 
> gcc removes if (0) at -O0. Maybe 'int is_h264 = 1; if (!is_h264)' is too much
for it?
> I wouldn't mind moving CONFIG_SVQ3_DECODER into the if.
> 
That's very fragile (think of using another compiler). The proper fix is to
define dummy functions.





More information about the ffmpeg-devel mailing list