Alibek Omarov
4856a3c084
Revert "engine: soundlib: wav: attempt to make FindNextChunk more safe"
...
This reverts commit 78e239d883
.
2 years ago
Alibek Omarov
78e239d883
engine: soundlib: wav: attempt to make FindNextChunk more safe
2 years ago
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2 years ago
Alibek Omarov
fcda7517fe
engine: common: soundlib: add support for MP3 looping through custom ID3v2.4.0 tagging
2 years ago
SNMetamorph
68be8157ea
engine: common: soundlib: added Sound_SupportedFileFormat function
2 years ago
Andrey Akhmichin
801dbaa387
engine: common: soundlib: libmpg: backport fix for CVE-2017-11126.
...
Original patch: https://www.mpg123.de/cgi-bin/scm/mpg123/trunk/src/libmpg123/layer3.c?view=patch&r1=4275&r2=4274
Same as: f246a0cdfd
2 years ago
Andrey Akhmichin
ffd5c2d3d0
engine: common: soundlib: libmpg: backport fix for CVE-2017-12839.
...
Original patch: https://www.mpg123.de/cgi-bin/scm/mpg123/trunk/src/libmpg123/getbits.h?view=patch&r1=2024&r2=4323
Same as: 8a5e21a2a2
2 years ago
MoeMod Server #2
499cd48e83
filesystem: fix lseek for mpg123
2 years ago
Alibek Omarov
270e2a76a8
engine: soundlib: simplify string operation
2 years ago
Alibek Omarov
f435a81c97
engine: soundlib: rewrite sfx resampler, fix possible crash if sfx is too long
...
- make same rate and same width resamples noop, as everything signed now
- minimize comparisons in loop body
2 years ago
Владислав Сухов
d3437c70bd
engine: soundlib: fix wrong sample rate unit
2 years ago
Alibek Omarov
5aa6bfee85
engine: first attempts on fuzzing the engine
3 years ago
Alibek Omarov
fe2c4af8c2
engine: soundlib: make Sound_GetApproxWavePlayLen behave like in GoldSrc
4 years ago
Alibek Omarov
3e7dd30fd7
engine: soundlib: use stdint definitions for WAV headers
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Alibek Omarov
dc2ab714f6
mpg123: backport some UB fixes from upstream
5 years ago
Alibek Omarov
aa6674b032
engine: support compiling with gcc3
5 years ago
Alibek Omarov
0dd91ceda2
xash3d-fwgs: append missing new line at the end of file
5 years ago
Alibek Omarov
1decb1c7fb
xash3d-fwgs: append missing new line at the end of file
5 years ago
Alibek Omarov
edf3fcd398
engine: common: explicitly cast literals to floats, include tgmath when needed
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
cedc1e0eb2
engine: soundlib: show mpg123 errors in console
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
mittorn
298393b653
Initial amd64 port
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
7 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
7 years ago
mittorn
c1076f43f7
Update client engine interface
7 years ago
Alibek Omarov
a2e2dd5bdf
Add libmpg source
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago