summaryrefslogtreecommitdiff
path: root/libavcodec/a52dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-01-06 23:33:43 +0000
committerDiego Biurrun <diego@biurrun.de>2007-01-06 23:33:43 +0000
commitf8904fd959c01fe0798ce587e216bd1fe057a8e7 (patch)
tree0d8f818d6a886ed95986b51f6fb75887e76efe25 /libavcodec/a52dec.c
parentbfd5afd84404f0e8473653791af273ced7e9ee8e (diff)
Rename variables: a52 --> liba52, a52bin --> liba52bin
Originally committed as revision 7414 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/a52dec.c')
-rw-r--r--libavcodec/a52dec.c8
1 files changed, 4 insertions, 4 deletions
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 <dlfcn.h>
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;