[Ffmpeg-cvslog] r8200 - trunk/libavcodec/a52dec.c

diego subversion
Sat Mar 3 09:33:07 CET 2007


Author: diego
Date: Sat Mar  3 09:33:07 2007
New Revision: 8200

Modified:
   trunk/libavcodec/a52dec.c

Log:
Add proper #idef to dlsymm call, also fixes an unresolved symbol on OS X 10.2.
patch by Patrice Bensoussan, patrice.bensoussan free fr


Modified: trunk/libavcodec/a52dec.c
==============================================================================
--- trunk/libavcodec/a52dec.c	(original)
+++ trunk/libavcodec/a52dec.c	Sat Mar  3 09:33:07 2007
@@ -70,6 +70,7 @@ typedef struct AC3DecodeState {
 
 } AC3DecodeState;
 
+#ifdef CONFIG_LIBA52BIN
 static void* dlsymm(void* handle, const char* symbol)
 {
     void* f = dlsym(handle, symbol);
@@ -77,6 +78,7 @@ static void* dlsymm(void* handle, const 
         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)
 {




More information about the ffmpeg-cvslog mailing list