[FFmpeg-devel] [PATCH 3/5] avradio/sdr: Remove direct inclusion of pthread.h

Michael Niedermayer michael at niedermayer.cc
Sat Jul 22 17:11:02 EEST 2023


Fate tests pass on mingw32 & 64 with this

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavradio/sdr.h      | 1 -
 libavradio/sdrdemux.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/libavradio/sdr.h b/libavradio/sdr.h
index c651ba0d99..4349763bd1 100644
--- a/libavradio/sdr.h
+++ b/libavradio/sdr.h
@@ -22,7 +22,6 @@
 #ifndef AVRADIO_SDR_H
 #define AVRADIO_SDR_H
 
-#include <pthread.h>
 #include <stdatomic.h>
 #include <float.h>
 
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c
index 8967ff1ea9..66130d9662 100644
--- a/libavradio/sdrdemux.c
+++ b/libavradio/sdrdemux.c
@@ -35,7 +35,6 @@
 
 #include "sdr.h"
 
-#include <pthread.h>
 #include <stdatomic.h>
 #include <float.h>
 #include "libavutil/avassert.h"
-- 
2.31.1



More information about the ffmpeg-devel mailing list