changeset 4618:bb06df70f857 libavcodec

Add proper #idef to dlsymm call, also fixes an unresolved symbol on OS X 10.2. patch by Patrice Bensoussan, patrice.bensoussan free fr
author diego
date Sat, 03 Mar 2007 08:33:07 +0000
parents a0b9e07527c4
children 9358bf66a1d0
files a52dec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)
 {