FS#12164 - Fix subtle bug in cook and atrac3_rm

Attached to Project: Rockbox
Opened by Sean Bartell (wtachi) - Wednesday, 22 June 2011, 08:00 GMT
Last edited by Andree Buschmann (Buschel) - Friday, 24 June 2011, 08:52 GMT
Task Type Patches
Category Codecs
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Cook and atrac3_rm request slightly less data via ci->request_buffer than they actually need: they fail to account for the packet header. The problem will almost never occur in normal Rockbox, but causes loud noises when request_buffer returns exactly the requested size, especially on low-bitrate cook files.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Friday, 24 June 2011, 08:52 GMT
Reason for closing:  Accepted
Additional comments about closing:  Submitted with r30060, thanks for this fix!