Commit e8a2452c authored by Stefan Reimer's avatar Stefan Reimer Committed by Alexandre Julliard

winemp3: Fixed exit condition within decoding loop.

parent 658eaeb3
......@@ -192,7 +192,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc);
}
dpos += size;
if (dpos > *ndst) break;
if (dpos >= *ndst) break;
} while (ret != MPG123_ERR && ret != MPG123_NEED_MORE);
*ndst = dpos;
}
......
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