X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Fffmpeg%2Fmux.c;h=9b7d5623a265e6a4bea75025f64a032ff191fa06;hb=bce30eb166ef17b5ca44c40808ee67666e9cd168;hp=9ed07f1eea071e7fb7356acde3a61290d52c1cc8;hpb=e03d7e7b122743951c4a2b09fb6a74290c071bf7;p=vlc diff --git a/modules/codec/ffmpeg/mux.c b/modules/codec/ffmpeg/mux.c index 9ed07f1eea..9b7d5623a2 100644 --- a/modules/codec/ffmpeg/mux.c +++ b/modules/codec/ffmpeg/mux.c @@ -27,13 +27,13 @@ #include /* malloc(), free() */ #include -#include -#include +#include +#include /* ffmpeg header */ #ifdef HAVE_FFMPEG_AVFORMAT_H # include -#else +#elif defined(HAVE_LIBAVFORMAT_TREE) # include #endif @@ -42,7 +42,7 @@ //#define AVFORMAT_DEBUG 1 /* Version checking */ -#if (LIBAVFORMAT_BUILD >= 4687) && (defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE)) +#if defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE) /***************************************************************************** * mux_sys_t: mux descriptor @@ -443,7 +443,7 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence ) return 0; } -#else /* LIBAVFORMAT_BUILD >= 4687 */ +#else /* HAVE_FFMPEG_AVFORMAT_H */ int E_(OpenMux)( vlc_object_t *p_this ) { @@ -454,4 +454,4 @@ void E_(CloseMux)( vlc_object_t *p_this ) { } -#endif /* LIBAVFORMAT_BUILD >= 4687 */ +#endif /* HAVE_FFMPEG_AVFORMAT_H */