]> git.sesse.net Git - vlc/blobdiff - modules/codec/ffmpeg/demux.c
Too many problems with new ffmpeg detection, reverting to last known good (rev 25403).
[vlc] / modules / codec / ffmpeg / demux.c
index 5750f4c9eb8a1769880b6c4d0a48634ddab23ca1..07f948cee80a7c6d4d2c113139da44f2b37be724 100644 (file)
@@ -36,8 +36,8 @@
 #include <vlc_meta.h>
 
 /* ffmpeg header */
-#ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
-#   include <libavformat/avformat.h>
+#ifdef HAVE_FFMPEG_AVFORMAT_H
+#   include <ffmpeg/avformat.h>
 #elif defined(HAVE_LIBAVFORMAT_TREE)
 #   include <avformat.h>
 #endif
@@ -47,7 +47,7 @@
 //#define AVFORMAT_DEBUG 1
 
 /* Version checking */
-#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE)
+#if defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE)
 
 /*****************************************************************************
  * demux_sys_t: demux descriptor
@@ -501,4 +501,4 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence )
     return stream_Tell( p_demux->s );
 }
 
-#endif /* HAVE_LIBAVFORMAT_AVFORMAT_H */
+#endif /* HAVE_FFMPEG_AVFORMAT_H */