decoder/mad: don't reset the xing struct
Not necessary.
This commit is contained in:
parent
40b9de66c7
commit
da6dd2dc92
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user