diff options
author | Till Mayer <till.mayer@web.de> | 2020-06-18 20:00:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-18 23:13:48 +0200 |
commit | 072e6a6405938cde83d6d0cc7fdcd95ad8d4ee61 (patch) | |
tree | b8ec6fede7851808b868609e283f3c0e37e0c05e /Applications/FileManager/PropertiesDialog.cpp | |
parent | c053537321e85e387dcf9d3d4a0b038537919091 (diff) | |
download | serenity-072e6a6405938cde83d6d0cc7fdcd95ad8d4ee61.zip |
WavLoader: Search for DATA marker by reading single bytes
Previously 4 bytes at once were read and compared to the string
"DATA". This worked when the DATA marker was aligned on a 32-bit
boundary relative to the start of the file. However, this is not
guranteed to always be the case, and for some files the loader
would just keep searching for the marker.
Diffstat (limited to 'Applications/FileManager/PropertiesDialog.cpp')
0 files changed, 0 insertions, 0 deletions