[Ffmpeg-devel] [PATCH] Fix dlsym undefined symbol on Mac OS X when liba52 is enabled

Patrice Bensoussan patrice.bensoussan
Sat Mar 3 01:50:27 CET 2007


Quick description of the problem:

Mac OS X 10.2 doesn't have dlsym/dlopen/dlclose as part of the  
standard libraries. It means if you compile ffmpeg on 10.4, the  
binary will work fine on 10.4 but due to the dlsym call in a52dec.c,  
it will not work on 10.2 because of the dlsym  undefined symbol.

This patch avoid this dependency when it's not required, meaning the  
same binary will work on 10.2 -> 10.4 even if   liba52 is enabled.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: a52fix_macosx10.2.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070303/000e2b8c/attachment.txt>
-------------- next part --------------

More information about the ffmpeg-devel mailing list