Commit da6dd2dc authored by Max Kellermann's avatar Max Kellermann

decoder/mad: don't reset the xing struct

Not necessary.
parent 40b9de66
...@@ -757,10 +757,8 @@ MadDecoder::FileSizeToSongLength() ...@@ -757,10 +757,8 @@ MadDecoder::FileSizeToSongLength()
inline bool inline bool
MadDecoder::DecodeFirstFrame(Tag **tag) MadDecoder::DecodeFirstFrame(Tag **tag)
{ {
/* stfu gcc */
struct xing xing; struct xing xing;
memset(&xing, 0, sizeof(struct xing)); xing.frames = 0;
xing.flags = 0;
while (true) { while (true) {
enum mp3_action ret; enum mp3_action ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment