mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
8641dfd9dd
* some libraries export <PackageName>LibraryDepends.cmake instead of <PackageName>Targets.cmake. Those file also need the fix of #1044 should close #4753 * prefered the general solution #4622. hopefully solved the issue within #4150 replaced the regex with something more readable (also ident is lost) should close: #4753 #4633 #4150 and maybe more * Hash vcpkg_fixup_cmake_targets.cmake * [boost] Fix use of find_package(Boost) with cache variables [socket-io-client] Fix install * reversed change back to use regex replace * [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files * [tinyspline] Ignore warnings treated as errors * [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches * [libsodium] Fix apply patches * [folly] Link correct libraries in debug and release * [vtk] Remove unset of _IMPORT_PREFIX * [tinyspline] Do not treat warnings as errors * [smpeg2] Fix double* to int comparison * [nvtt] Define value for HAVE_UNISTD_H in MacOS * [libui] Fix MacOS X build * [zlib] Fix download URL * [qhull] Update to v7.2.1 * [podofo] Set value for HAVE_UNISTD_H in MacOS * [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version * [mongo-c-driver] Set _IMPORT_PREFIX * [tmxparser] Bump CONTROL version * [qhull,vxl] Bump CONTROL version
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
|