mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-11 02:00:56 +00:00
Extra bloaty junk to modernise stuff a bit.
https://fte.triptohell.info/moodles/qss/
and add a new blocksize field to it which the flac decoder can use. updated decoder sources for the snd_info_t changes, where I made minor tidy-ups too, tightening several format checks and fixing a few gotchas in snd_wave.c and snd_mem.c. * snd_flac.c: adjusted for snd_info_t changes. no longed storing metadata->data.stream_info in our private data, but just storing a pointer to the stream->info structure. No longer checking the metadata total_samples field (the FLAC__StreamMetadata_StreamInfo doesn't seem to have any alignment or pack attributes and I don't safe with its offset across different compilers), but added check to make sure that we hit and parsed a STREAMINFO metadata instead, and our new state seems just fine for validating the file. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@859 af15c1b1-3010-417e-b628-4374ebc0bcbd |
||
---|---|---|
quakespasm |