diff options
author | Patrice Bensoussan <patrice.bensoussan@free.fr> | 2007-03-03 08:33:07 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-03-03 08:33:07 +0000 |
commit | 43a498f20587e5878dd2623e37ea6bc1e45b918c (patch) | |
tree | ac8085a53334a7e566483ca2af5ee92ddc5d078c /libavcodec/a52dec.c | |
parent | 4926485d92ebf3fc9fdeb212f01732f48918f853 (diff) | |
download | ffmpeg-43a498f20587e5878dd2623e37ea6bc1e45b918c.tar.gz |
Add proper #idef to dlsymm call, also fixes an unresolved symbol on OS X 10.2.
patch by Patrice Bensoussan, patrice.bensoussan free fr
Originally committed as revision 8200 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/a52dec.c')
-rw-r--r-- | libavcodec/a52dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/a52dec.c b/libavcodec/a52dec.c index 615f9d7aa5..c2da2283d9 100644 --- a/libavcodec/a52dec.c +++ b/libavcodec/a52dec.c @@ -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 char* symbol) 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) { |