• Charles Kerr's avatar
    decoder/ffmpeg: fix crash on startup in mpd_ffmpeg_log_callback() · 6a958980
    Charles Kerr authored
    What's happening is the `ptr' argument to that function is NULL for me
    every time. `ptr' is unconditionally dereferenced to generate a log
    message, and this is where mpd crashes.
    
    Attached is a simple patch that tests for NULL and omits the log. With
    this patch the crash disappeared and mpd went back to working well.
    6a958980
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...