Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 135820 | Differences between
and this patch

Collapse All | Expand All

(-)libavcodec/a52dec.c.old (-2 / +2 lines)
Lines 73-79 Link Here
73
{
73
{
74
    void* f = dlsym(handle, symbol);
74
    void* f = dlsym(handle, symbol);
75
    if (!f)
75
    if (!f)
76
	fprintf(stderr, "A52 Decoder - function '%s' can't be resolved\n", symbol);
76
	av_log(stderr, "A52 Decoder - function '%s' can't be resolved\n", symbol);
77
    return f;
77
    return f;
78
}
78
}
79
#endif
79
#endif
Lines 86-92 Link Here
86
    s->handle = dlopen(liba52name, RTLD_LAZY);
86
    s->handle = dlopen(liba52name, RTLD_LAZY);
87
    if (!s->handle)
87
    if (!s->handle)
88
    {
88
    {
89
	fprintf(stderr, "A52 library %s could not be opened! \n%s\n", liba52name, dlerror());
89
	av_log(stderr, "A52 library %s could not be opened! \n%s\n", liba52name, dlerror());
90
        return -1;
90
        return -1;
91
    }
91
    }
92
    s->a52_init = (a52_state_t* (*)(uint32_t)) dlsymm(s->handle, "a52_init");
92
    s->a52_init = (a52_state_t* (*)(uint32_t)) dlsymm(s->handle, "a52_init");

Return to bug 135820