From da6dd2dc9266511ef5250fdc27d27cc6e3e7b525 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 25 Aug 2014 10:26:55 +0200 Subject: decoder/mad: don't reset the xing struct Not necessary. --- src/decoder/plugins/MadDecoderPlugin.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/decoder/plugins') 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; -- cgit v1.2.3