avdevice/pulse_audio_common: Avoid inclusion of avcodec.h

It only needs codec_id.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-08-02 09:14:29 +02:00
parent 7469f2ec0a
commit 00597af58b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
#define AVDEVICE_PULSE_AUDIO_COMMON_H #define AVDEVICE_PULSE_AUDIO_COMMON_H
#include <pulse/pulseaudio.h> #include <pulse/pulseaudio.h>
#include "libavcodec/avcodec.h" #include "libavcodec/codec_id.h"
#include "avdevice.h" #include "avdevice.h"
pa_sample_format_t ff_codec_id_to_pulse_format(enum AVCodecID codec_id); pa_sample_format_t ff_codec_id_to_pulse_format(enum AVCodecID codec_id);