mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 18:18:23 +08:00
14 lines
518 B
Diff
14 lines
518 B
Diff
|
diff --git a/audio/mpegtoraw.cpp b/audio/mpegtoraw.cpp
|
||
|
index 493c870..a4eabdc 100644
|
||
|
--- a/audio/mpegtoraw.cpp
|
||
|
+++ b/audio/mpegtoraw.cpp
|
||
|
@@ -448,7 +448,7 @@ int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len)
|
||
|
if (audio->timestamp[0] != -1){
|
||
|
double timeshift = audio->Time() - audio->timestamp[0];
|
||
|
double correction = 0;
|
||
|
- assert(audio->timestamp >= 0);
|
||
|
+ assert(audio->timestamp[0] >= 0);
|
||
|
if (fabs(timeshift) > 1.0){
|
||
|
correction = -timeshift;
|
||
|
#ifdef DEBUG_TIMESTAMP_SYNC
|