[FFmpeg-devel] [PATCH] Fix compilation (?)

Måns Rullgård mans
Fri Dec 26 01:19:40 CET 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Thu, Dec 25, 2008 at 04:23:37PM -0500, Jason Garrett-Glaser wrote:
>> Someone on mplayer-users reported a compile failure, which is rather
>> odd since this function should be optimized out on 64-bit (as it is
>> static and never used).
>> 
>> But since it clearly wasn't, here's a patch to fix it.
>
> welcome to the world of gcc

The standard does not require that the compiler remove unused
functions.  That's just a nice feature of most implementations.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list