decoder/mad: don't reset the xing struct

Not necessary.
This commit is contained in:
Max Kellermann 2014-08-25 10:26:55 +02:00
parent 40b9de66c7
commit da6dd2dc92

View File

@ -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;