Mercurial > libavcodec.hg
diff a52dec.c @ 4334:bc434522dfc2 libavcodec
Rename variables: a52 --> liba52, a52bin --> liba52bin
author | diego |
---|---|
date | Sat, 06 Jan 2007 23:33:43 +0000 |
parents | c8c591fe26f8 |
children | d9a61f401c11 |
line wrap: on
line diff
--- a/a52dec.c Wed Jan 03 11:32:02 2007 +0000 +++ b/a52dec.c Sat Jan 06 23:33:43 2007 +0000 @@ -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 @@ } AC3DecodeState; -#ifdef CONFIG_A52BIN +#ifdef CONFIG_LIBA52BIN static void* dlsymm(void* handle, const char* symbol) { void* f = dlsym(handle, symbol); @@ -84,7 +84,7 @@ { AC3DecodeState *s = avctx->priv_data; -#ifdef CONFIG_A52BIN +#ifdef CONFIG_LIBA52BIN s->handle = dlopen(liba52name, RTLD_LAZY); if (!s->handle) { @@ -239,7 +239,7 @@ { AC3DecodeState *s = avctx->priv_data; s->a52_free(s->state); -#ifdef CONFIG_A52BIN +#ifdef CONFIG_LIBA52BIN dlclose(s->handle); #endif return 0;