[FFmpeg-devel] [PATCH 07/15] avdevice/pulse_audio_common: Avoid inclusion of avcodec.h

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Aug 2 13:58:29 EEST 2023


It only needs codec_id.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavdevice/pulse_audio_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/pulse_audio_common.h b/libavdevice/pulse_audio_common.h
index 902795e4f7..9def3cb796 100644
--- a/libavdevice/pulse_audio_common.h
+++ b/libavdevice/pulse_audio_common.h
@@ -23,7 +23,7 @@
 #define AVDEVICE_PULSE_AUDIO_COMMON_H
 
 #include <pulse/pulseaudio.h>
-#include "libavcodec/avcodec.h"
+#include "libavcodec/codec_id.h"
 #include "avdevice.h"
 
 pa_sample_format_t ff_codec_id_to_pulse_format(enum AVCodecID codec_id);
-- 
2.34.1



More information about the ffmpeg-devel mailing list