diff options
author | Max Kellermann <max@duempel.org> | 2014-08-25 10:26:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-25 10:32:40 +0200 |
commit | da6dd2dc9266511ef5250fdc27d27cc6e3e7b525 (patch) | |
tree | 54db3dfb6e5b0c1ba39ba4638a2c4f65d4d9a32a | |
parent | 40b9de66c76b256fb0ac7e5950a91371bd61c83b (diff) | |
download | mpd-da6dd2dc9266511ef5250fdc27d27cc6e3e7b525.tar.gz mpd-da6dd2dc9266511ef5250fdc27d27cc6e3e7b525.tar.xz mpd-da6dd2dc9266511ef5250fdc27d27cc6e3e7b525.zip |
decoder/mad: don't reset the xing struct
Not necessary.
-rw-r--r-- | src/decoder/plugins/MadDecoderPlugin.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx index e36a28a19..1ad0076ee 100644 --- a/src/decoder/plugins/MadDecoderPlugin.cxx +++ b/src/decoder/plugins/MadDecoderPlugin.cxx @@ -757,10 +757,8 @@ MadDecoder::FileSizeToSongLength() inline bool MadDecoder::DecodeFirstFrame(Tag **tag) { - /* stfu gcc */ struct xing xing; - memset(&xing, 0, sizeof(struct xing)); - xing.flags = 0; + xing.frames = 0; while (true) { enum mp3_action ret; |