Fixed a bug with the buffer from the last commit.

This commit is contained in:
n-a-c-h
2005-11-23 20:40:40 +00:00
parent 7930ecde1d
commit 65bbc4be2e

View File

@@ -1993,7 +1993,7 @@ static void raw_video_write_frame()
temp = DSPBuffer[i];
if (temp > 32767) { temp = 32767; }
else if (temp < -32768) { temp =-32768; }
fwrite2((short)temp, raw_vid.ap);
raw_vid.sample_buffer[raw_vid.sample_index] = temp;
raw_vid.sample_index++;