diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-05-06 21:34:50 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-05-06 21:34:50 +0000 |
commit | fffcb5e8412c8d1304b07eee7ac2d79cf280a1f4 (patch) | |
tree | 872720c423f3e7955e54106f5bcaf0f1f1bd0a57 /libavcodec/a52dec.c | |
parent | bc6caae212b8a5be9e78625b77ef8cc270b4a443 (diff) | |
download | ffmpeg-fffcb5e8412c8d1304b07eee7ac2d79cf280a1f4.tar.gz |
- Segfault fixed when liba52 dynamic library isn't found.
Originally committed as revision 449 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/a52dec.c')
-rw-r--r-- | libavcodec/a52dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/a52dec.c b/libavcodec/a52dec.c index 7ed9ba9791..d639b8ae30 100644 --- a/libavcodec/a52dec.c +++ b/libavcodec/a52dec.c @@ -80,7 +80,7 @@ static int a52_decode_init(AVCodecContext *avctx) 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"); |