src/flac/decode.c : Decoder buffering improvements on Windows.
commitd66f6754bf94bc8ba23d3579d0b5650cd380c9f0
authorErik de Castro Lopo <erikd@mega-nerd.com>
Thu, 2 Oct 2014 20:45:20 +0000 (3 06:45 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Thu, 2 Oct 2014 20:45:28 +0000 (3 06:45 +1000)
treeab38256d135f5b8b6924688e1b274d45d5aba1b0
parente8632477774f56b4fe7ccab525cad2ceab244b8a
src/flac/decode.c : Decoder buffering improvements on Windows.

On Windows, decoding flac files is also prone to producing fragmented
files. Avoid fragmentation on NTFS by using Windows specific functions to
tell Windows the size of the file beforehand.

Patch-from: Janne Hyvärinen <cse@sci.fi>
src/flac/decode.c