diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index a091cdc74c..d9ee7e7bba 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples/decode_audio.c @@ -31,9 +31,9 @@ #include #include -#include "libavcodec/avcodec.h" +#include -#include "libavutil/frame.h" +#include #define AUDIO_INBUF_SIZE 20480 #define AUDIO_REFILL_THRESH 4096 diff --git a/doc/examples/encode_audio.c b/doc/examples/encode_audio.c index 4f6371e328..88d0a6fd46 100644 --- a/doc/examples/encode_audio.c +++ b/doc/examples/encode_audio.c @@ -31,12 +31,12 @@ #include #include -#include "libavcodec/avcodec.h" +#include -#include "libavutil/channel_layout.h" -#include "libavutil/common.h" -#include "libavutil/frame.h" -#include "libavutil/samplefmt.h" +#include +#include +#include +#include /* check that a given sample format is supported by the encoder */ static int check_sample_fmt(const AVCodec *codec, enum AVSampleFormat sample_fmt)