wavpack: tolerate less decoded data than requested
Wavpack plugin doesn't stop decoding if a block couldn't be fully decoded, rather it tries to go on.
This commit is contained in:

committed by
Max Kellermann

parent
ed6f60460d
commit
c495c6f5af
@@ -215,7 +215,7 @@ wavpack_decode(struct decoder *decoder, WavpackContext *wpc, bool can_seek,
|
|||||||
replay_gain_info
|
replay_gain_info
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} while (samples_got != samples_requested);
|
} while (samples_got > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user