[FFmpeg-devel] [PATCH] SDL detection

Dave Yeo daveryeo
Sun Jan 6 19:48:34 CET 2008


On 01/06/08 05:12 am, KO Myung-Hun wrote:
> Hi/2.
> 
> M?ns Rullg?rd wrote:
>> KO Myung-Hun <komh at chollian.net> writes:
>>
>>   
>>> Hi/2.
>>>
>>> Currently, SDL is detected with 'check_lib', but 'check_lib2' is better.
>>> Because in according to calling convention, name mangling convention can
>>> be changed.
>>>
>>> In case of check_lib, check header and function separately. So calling
>>> convention of function is assumed as the default one. But this does not
>>> work if other calling convention is used and other naming convention is
>>> used like OS/2 port of SDL.
>>>     
>> OK if it is required and doesn't break anything else.
>>
>>   
> 
> Yes, I think so.
> 
There is a workaround 
(http://www.edm2.com/index.php/SDL#Configure_can.27t_link_SDL_Init) that 
I have been using. Using check_lib2 would be simpler.
Dave




More information about the ffmpeg-devel mailing list