summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/wav_enc.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-06-28 02:17:58 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-06-28 02:17:58 -0400
commit662f7576bfe5ed3f8a1b6d606cc7cc114a814791 (patch)
treec32ba5ba2b9c801ead53d4e3c40620c08f0bab7f /lib/rbcodec/codecs/wav_enc.c
parent363f96b95b2d96746c013da09b194f4eee39d385 (diff)
downloadrockbox-662f7576bfe5ed3f8a1b6d606cc7cc114a814791.tar.gz
rockbox-662f7576bfe5ed3f8a1b6d606cc7cc114a814791.zip
Fix a bug in pcmbuf.c when doing offset with modulus.
Causes the track change to go in the wrong buffer (and even be missed by playback) if the current descriptor for the write index is descriptor 0 because the offset used is "-1" upon track change. Got nailed by implicit conversion of the % operator dividend to unsigned. Change-Id: I32538db801ac9d790c8b1b5bd041b09ad4b64d2e
Diffstat (limited to 'lib/rbcodec/codecs/wav_enc.c')
0 files changed, 0 insertions, 0 deletions