Mercurial > libavcodec.hg
diff a52dec.c @ 368:1db6950d81ea libavcodec
- Segfault fixed when liba52 dynamic library isn't found.
| author | pulento |
|---|---|
| date | Mon, 06 May 2002 21:34:50 +0000 |
| parents | 1a38b3b4ea28 |
| children | 718a22dc121f |
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");
