> > diff --git a/audio/ossaudio.c b/audio/ossaudio.c > > index f88d076ec2..a7dcaa31ad 100644 > > --- a/audio/ossaudio.c > > +++ b/audio/ossaudio.c > > @@ -691,6 +691,7 @@ static size_t oss_read(HWVoiceIn *hw, void *buf, size_t > > len) > > len, dst); > > break; > > } > > + break; > > } > > > > pos += nread; > > ... now pos += -1, then the size returned misses the last byte.
No, it doesn't. break leaves the while loop, not the if condition. >From patch context it isn't obvious though, you need to look at the source code ... Patch queued. thanks, Gerd