[vlc-commits] [Git][videolan/vlc][master] package/win32: fix unlikely not available outside of VLC
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Nov 24 09:24:44 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
eb5c7852 by Steve Lhomme at 2024-11-24T08:47:58+00:00
package/win32: fix unlikely not available outside of VLC
The code was tested inside the VLC source tree...
- - - - -
1 changed file:
- extras/package/win32/NSIS/nsProcess/nsProcess.c
Changes:
=====================================
extras/package/win32/NSIS/nsProcess/nsProcess.c
=====================================
@@ -213,7 +213,7 @@ int FIND_PROC_BY_NAME(TCHAR *szProcessName, BOOL bTerminate, BOOL bClose)
for (;;)
{
processIDs = realloc(processIDs, process_count * sizeof(DWORD));
- if (unlikely(processIDs == NULL))
+ if (processIDs == NULL)
break;
DWORD readSize;
if (!EnumProcesses(processIDs, process_count*sizeof(DWORD), &readSize))
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/eb5c78524595999f05ef3d5c25b2b83ef2dddd2b
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/eb5c78524595999f05ef3d5c25b2b83ef2dddd2b
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list