diff options
author | Max Kellermann <max@duempel.org> | 2008-09-11 07:49:51 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-11 07:49:51 +0200 |
commit | 544c13cc897b5cbfbae571fba25d023fd9037634 (patch) | |
tree | 15a7ca0e942c052bf61badb87ab25f3e0d448622 /src/state_file.c | |
parent | 3aa4564b561f0afd8eae1eeee7836006baffcde8 (diff) | |
download | mpd-544c13cc897b5cbfbae571fba25d023fd9037634.tar.gz mpd-544c13cc897b5cbfbae571fba25d023fd9037634.tar.xz mpd-544c13cc897b5cbfbae571fba25d023fd9037634.zip |
shout: copy the audio_format, instead of taking a pointer
Storing pointers to immutable audio_format structs isn't worth it,
because the struct itself isn't much larger than the pointer. Since
the shout plugin requires the user to configure a fixed audio format,
we can simply copy it in myShout_initDriver().
Diffstat (limited to 'src/state_file.c')
0 files changed, 0 insertions, 0 deletions