diff options
author | Max Kellermann <max@duempel.org> | 2008-09-09 10:04:42 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-09 10:04:42 +0200 |
commit | 7f1cccb3ea2c94d27b1964530405c953d474bfd0 (patch) | |
tree | 85e9b51210a70e686b5c689fd13ac72707bf4f8b /UPGRADING | |
parent | f9316fbbbef04206be703ff3e7a2e175a958bff3 (diff) | |
download | mpd-7f1cccb3ea2c94d27b1964530405c953d474bfd0.tar.gz mpd-7f1cccb3ea2c94d27b1964530405c953d474bfd0.tar.xz mpd-7f1cccb3ea2c94d27b1964530405c953d474bfd0.zip |
audio: replaced copyAudioFormat() with simple assignment
The "!src" check in copyAudioFormat() used to hide bugs - one should
never pass NULL to it. There is one caller which might pass NULL, add
a check in this caller.
Instead of doing mempcy(), we can simply assign the structures, which
looks more natural.
Diffstat (limited to 'UPGRADING')
0 files changed, 0 insertions, 0 deletions