changeset 368:1db6950d81ea libavcodec

- Segfault fixed when liba52 dynamic library isn't found.
author pulento
date Mon, 06 May 2002 21:34:50 +0000
parents abbed9f28d75
children c60869851bb4
files a52dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/a52dec.c	Mon May 06 19:32:55 2002 +0000
+++ b/a52dec.c	Mon May 06 21:34:50 2002 +0000
@@ -80,7 +80,7 @@
     s->handle = dlopen(liba52name, RTLD_LAZY);
     if (!s->handle)
     {
-	fprintf(stderr, "A52 library %s  could not be opened: %s\n", liba52name, dlerror());
+	fprintf(stderr, "A52 library %s could not be opened! \n%s\n", liba52name, dlerror());
         return -1;
     }
     s->a52_init = (a52_state_t* (*)(uint32_t)) dlsymm(s->handle, "a52_init");