avifil32: use chunksize specified by the chunk itself, avoids a noticable ticking sound heard when reading past the chunk boundry

Julius Schwartzenberg j.schwartzenberg at student.utwente.nl
Sat Jan 9 19:41:37 CST 2010


It solves a ticking sound which was heard because the original code 
would just play right through the chunk and also try to play back parts 
of the next chunk header. This happened when the buffer size was larger 
then than the data that was left in the current chunk. This ticking was 
also heard in Civilization II (with the other patches applied). This 
patch solves it by using the chunk size specified in the chunk's own 
header and not playing past that size.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010-avifile-use-chunksize-specified-by-the-chunk-itself-av.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100110/16c117fd/attachment-0001.txt>


More information about the wine-patches mailing list