# HG changeset patch # User diego # Date 1172910787 0 # Node ID bb06df70f857eec35cea627b46eb8786c1a157eb # Parent a0b9e07527c4963f1c7967f35f49e1b08401bad6 Add proper #idef to dlsymm call, also fixes an unresolved symbol on OS X 10.2. patch by Patrice Bensoussan, patrice.bensoussan free fr diff -r a0b9e07527c4 -r bb06df70f857 a52dec.c --- a/a52dec.c Sat Mar 03 08:29:03 2007 +0000 +++ b/a52dec.c Sat Mar 03 08:33:07 2007 +0000 @@ -70,6 +70,7 @@ } AC3DecodeState; +#ifdef CONFIG_LIBA52BIN static void* dlsymm(void* handle, const char* symbol) { void* f = dlsym(handle, symbol); @@ -77,6 +78,7 @@ av_log( NULL, AV_LOG_ERROR, "A52 Decoder - function '%s' can't be resolved\n", symbol); return f; } +#endif static int a52_decode_init(AVCodecContext *avctx) {