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

Diego Biurrun diego
Sat Mar 3 09:33:28 CET 2007


On Sat, Mar 03, 2007 at 12:50:27AM +0000, Patrice Bensoussan wrote:
> 
> 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.

Thanks, applied.

Diego




More information about the ffmpeg-devel mailing list