aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-12 19:49:15 +0100
committerMax Kellermann <max@duempel.org>2009-03-12 19:49:15 +0100
commit6352e75910f33273a04ce9b2c104af161e64a96f (patch)
tree43526448ec2c3a6fb392734426e7c2fd472242fb /test/run_decoder.c
parente3b9b57ecdf8c1396d120f1ccee0814a3e119511 (diff)
downloadmpd-6352e75910f33273a04ce9b2c104af161e64a96f.tar.gz
mpd-6352e75910f33273a04ce9b2c104af161e64a96f.tar.xz
mpd-6352e75910f33273a04ce9b2c104af161e64a96f.zip
crossfade: copy chunk.audio_format in !NDEBUG
When the destination chunk was empty in cross_fade_apply(), it had no audio_format attached (an attribute which is only used for assertion in the debug build). cross_fade_apply() should assign it the audio_format of the second chunk (if available), otherwise MPD will crash.
Diffstat (limited to 'test/run_decoder.c')
0 files changed, 0 insertions, 0 deletions