X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fa52dec.c;h=e810bc7d77c39b6c31c56a6120d95d488c5eee98;hp=dec25138e604c80ccadab2ef767a3942fbbe5296;hb=f8904fd959c01fe0798ce587e216bd1fe057a8e7;hpb=bfd5afd84404f0e8473653791af273ced7e9ee8e diff --git a/libavcodec/a52dec.c b/libavcodec/a52dec.c index dec25138e6..e810bc7d77 100644 --- a/libavcodec/a52dec.c +++ b/libavcodec/a52dec.c @@ -27,7 +27,7 @@ #include "avcodec.h" #include "liba52/a52.h" -#ifdef CONFIG_A52BIN +#ifdef CONFIG_LIBA52BIN #include static const char* liba52name = "liba52.so.0"; #endif @@ -70,7 +70,7 @@ typedef struct AC3DecodeState { } AC3DecodeState; -#ifdef CONFIG_A52BIN +#ifdef CONFIG_LIBA52BIN static void* dlsymm(void* handle, const char* symbol) { void* f = dlsym(handle, symbol); @@ -84,7 +84,7 @@ static int a52_decode_init(AVCodecContext *avctx) { AC3DecodeState *s = avctx->priv_data; -#ifdef CONFIG_A52BIN +#ifdef CONFIG_LIBA52BIN s->handle = dlopen(liba52name, RTLD_LAZY); if (!s->handle) { @@ -239,7 +239,7 @@ static int a52_decode_end(AVCodecContext *avctx) { AC3DecodeState *s = avctx->priv_data; s->a52_free(s->state); -#ifdef CONFIG_A52BIN +#ifdef CONFIG_LIBA52BIN dlclose(s->handle); #endif return 0;