[vlc-commits] [Git][videolan/vlc][master] 4 commits: win32: process: add missing include

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Feb 15 11:30:12 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
1766681b by Steve Lhomme at 2026-02-15T12:12:15+01:00
win32: process: add missing include

- - - - -
75936d87 by Steve Lhomme at 2026-02-15T12:12:15+01:00
posix/process: add missing include

- - - - -
b106c4a5 by Steve Lhomme at 2026-02-15T12:12:15+01:00
vlc_process: don't include unnecessary headers

- - - - -
eb445b15 by Steve Lhomme at 2026-02-15T12:12:15+01:00
medialibrary: remove write-only variable in MetadataExtractor

- - - - -


5 changed files:

- include/vlc_process.h
- modules/misc/medialibrary/MetadataExtractor.cpp
- modules/misc/medialibrary/medialibrary.h
- src/posix/process.c
- src/win32/process.c


Changes:

=====================================
include/vlc_process.h
=====================================
@@ -10,13 +10,8 @@
 #ifndef VLC_PROCESS_H
 #define VLC_PROCESS_H
 
-#include <stdatomic.h>
-
 #include <vlc_common.h>
-#include <vlc_vector.h>
 #include <vlc_tick.h>
-#include <vlc_threads.h>
-#include <vlc_stream.h>
 
 /**
  * @ingroup misc


=====================================
modules/misc/medialibrary/MetadataExtractor.cpp
=====================================
@@ -92,7 +92,6 @@ std::string EmbeddedThumbnail::extension() const
 
 MetadataExtractor::MetadataExtractor( vlc_object_t* parent )
     : m_currentCtx( nullptr )
-    , m_obj( parent )
     , m_parser(parent, {
         .types = VLC_PREPARSER_TYPE_PARSE | VLC_PREPARSER_OPTION_SUBITEMS,
         .max_parser_threads = 1,


=====================================
modules/misc/medialibrary/medialibrary.h
=====================================
@@ -107,7 +107,6 @@ private:
     vlc::threads::condition_variable m_cond;
     vlc::threads::mutex m_mutex;
     ParseContext* m_currentCtx;
-    vlc_object_t* m_obj;
     LazyPreparser m_parser;
 };
 


=====================================
src/posix/process.c
=====================================
@@ -15,6 +15,7 @@
 # include <poll.h>
 #endif
 
+#include <assert.h>
 #include <signal.h>
 #include <sys/poll.h>
 
@@ -39,7 +40,7 @@ struct vlc_process*
 vlc_process_Spawn(const char *path, int argc, const char *const *argv)
 {
     assert(path != NULL);
-    assert(argc > 0); 
+    assert(argc > 0);
     assert(argv != NULL);
     assert(argv[0] != NULL);
 


=====================================
src/win32/process.c
=====================================
@@ -13,6 +13,7 @@
 
 #include <windows.h>
 #include <io.h>
+#include <assert.h>
 
 #include <vlc_common.h>
 #include <vlc_process.h>
@@ -123,7 +124,7 @@ vlc_process_Spawn(const char *path, int argc, const char *const *argv)
         errno = EINVAL;
         goto end;
     }
-    
+
     int stderr_fd = -1;
     intptr_t h_err = _get_osfhandle(STDERR_FILENO);
     if (h_err != -1 && h_err != -2) {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/fa7e1cdd3e2a39565fe5a74e741ec1e748b3e06c...eb445b15356db18797405df081384f444c05615f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/fa7e1cdd3e2a39565fe5a74e741ec1e748b3e06c...eb445b15356db18797405df081384f444c05615f
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