Browse Source

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
tags/v0.5
Patrice Bensoussan Diego Biurrun 18 years ago
parent
commit
43a498f205
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/a52dec.c

+ 2
- 0
libavcodec/a52dec.c View File

@@ -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)
{


Loading…
Cancel
Save