]> git.sesse.net Git - vlc/blobdiff - modules/codec/ffmpeg/mux.c
Detect and allow older versions of ffmpeg to be used in conjunction with VLC.
[vlc] / modules / codec / ffmpeg / mux.c
index aebe91e6c582023a165e46ee485749ba25e418fa..975921c10c6afd241f069f322af5981d053ceba3 100644 (file)
@@ -45,7 +45,7 @@
 //#define AVFORMAT_DEBUG 1
 
 /* Version checking */
-#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE)
+#if defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)
 
 static const char *ppsz_mux_options[] = {
     "mux", NULL