From: Paul Brossier Date: Sun, 11 Dec 2016 02:49:05 +0000 (+0100) Subject: src/io/source_avcodec.c: includes first X-Git-Tag: 0.4.4~81 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=dcde285e56bdd6c51feba0976e540645d20753e2 src/io/source_avcodec.c: includes first --- diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c index ed7a6199..9a5201ed 100644 --- a/src/io/source_avcodec.c +++ b/src/io/source_avcodec.c @@ -23,6 +23,12 @@ #ifdef HAVE_LIBAV +#include +#include +#include +#include +#include + // determine whether we use libavformat from ffmpeg or from libav #define FFMPEG_LIBAVFORMAT (LIBAVFORMAT_VERSION_MICRO > 99 ) // max_analyze_duration2 was used from ffmpeg libavformat 55.43.100 through 57.2.100 @@ -32,12 +38,6 @@ || (LIBAVFORMAT_VERSION_MAJOR == 57 && LIBAVFORMAT_VERSION_MINOR < 2) \ ) -#include -#include -#include -#include -#include - // backward compatibility with libavcodec55 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,28,1) #warning "libavcodec55 is deprecated"