mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-01 13:20:50 +00:00
fixed /video writing incorrect audio stream lengths to the AVI file headers
This commit is contained in:
parent
928a8df74a
commit
75f0635f3f
2 changed files with 3 additions and 1 deletions
|
@ -60,6 +60,8 @@ chg: with r_backend GL3, depth fade with MSAA now requires GLSL 4.00 at a minimu
|
|||
|
||||
chg: with r_backend GL3, alpha to coverage now requires GLSL 4.00 at a minimum
|
||||
|
||||
fix: /video was writing incorrect audio stream lengths to the .avi file headers
|
||||
|
||||
fix: /systeminfo /serverinfo /clientinfo /dumpuser would crash when tokens were too long
|
||||
|
||||
fix: with r_lightmap 1 and r_dynamiclight 1, lighting transparent surfaces could crash
|
||||
|
|
|
@ -548,7 +548,7 @@ void CL_WriteAVIAudioFrame( const byte *pcmBuffer, int size )
|
|||
|
||||
afd.numAudioFrames++;
|
||||
afd.moviSize += ( chunkSize + paddingSize );
|
||||
afd.a.totalBytes =+ bytesInBuffer;
|
||||
afd.a.totalBytes += bytesInBuffer;
|
||||
|
||||
// Index
|
||||
bufIndex = 0;
|
||||
|
|
Loading…
Reference in a new issue