• Pete Beardmore's avatar
    MultipleOutputs: ensure input_audio_format is zero-initialised · d0cd98a6
    Pete Beardmore authored
    -fixes SIGABRT when mpd is started from a previously paused state
    -regression introduced by commit: f5a923b9:
    'OutputAll: convert to class, move instance to class Partition'
    
    -input_audio_format was previously declared using the static modifier
    ensuring it was zero-initialised by default
    -the current default-initialised input_audio_format contains garbage at
    runtime which allows the AudioFormat.IsDefined() 'fail fast' test in
    MultipleOutputs::Update to pass and the SIGABRT follows in
    AudioOutput::Open when passed the invalid input_audio_format struct
    -switching AudioFormat.IsDefined() for AudioFormat.IsValid() is an
    alternative workaround
    d0cd98a6
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd 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...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...