[vlc-commits] [Git][videolan/vlc][master] 3 commits: opus_header.h: include stddef.h to get size_t

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Dec 1 15:05:44 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
c6b1ff6b by Steve Lhomme at 2023-12-01T14:49:14+00:00
opus_header.h: include stddef.h to get size_t

- - - - -
39df37a6 by Steve Lhomme at 2023-12-01T14:49:14+00:00
vlc-qt-check: include cstdlib from C++

- - - - -
c608b70a by Steve Lhomme at 2023-12-01T14:49:14+00:00
avcodec: include winapifamily.h when using WINAPI_FAMILY_PARTITION()

- - - - -


3 changed files:

- modules/codec/avcodec/video.c
- modules/codec/opus_header.h
- modules/gui/qt/vlc-qt-check.cpp


Changes:

=====================================
modules/codec/avcodec/video.c
=====================================
@@ -45,6 +45,10 @@
 #include "avcodec.h"
 #include "va.h"
 
+#if defined(_WIN32)
+# include <winapifamily.h>
+#endif
+
 #include <libavutil/stereo3d.h>
 
 #if LIBAVUTIL_VERSION_CHECK( 57, 16, 100 )


=====================================
modules/codec/opus_header.h
=====================================
@@ -29,6 +29,7 @@
 #define OPUS_HEADER_H
 
 #include <stdint.h>
+#include <stddef.h>
 
 typedef struct {
     int version;


=====================================
modules/gui/qt/vlc-qt-check.cpp
=====================================
@@ -22,7 +22,7 @@
 # include "config.h"
 #endif
 
-#include <stdlib.h>
+#include <cstdlib>
 #include <QApplication>
 #include <QTextStream>
 #include <QtGlobal>



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/13927c42b448779de7bfa535bb5d3e480d2ed2cb...c608b70a8f6a6d59d0838592d2921a619a7c8343

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