[FFmpeg-cvslog] avdevice/pulse_audio_common: Avoid inclusion of avcodec.h

Andreas Rheinhardt git at videolan.org
Sat Aug 5 11:05:40 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Aug  2 09:14:29 2023 +0200| [00597af58b76779c315d792232008466f3506ae3] | committer: Andreas Rheinhardt

avdevice/pulse_audio_common: Avoid inclusion of avcodec.h

It only needs codec_id.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=00597af58b76779c315d792232008466f3506ae3
---

 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);



More information about the ffmpeg-cvslog mailing list