Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > ffd57a2da850d8857f82788da0442b33 > files > 5

gnusound-0.7.5-2mdv2009.1.src.rpm

--- configure.ac~	2008-06-07 08:45:25.000000000 +0200
+++ configure.ac	2008-06-07 08:46:24.000000000 +0200
@@ -156,7 +156,7 @@
    use="$use -lvorbisenc"], [], [])
 
 dnl FFMPEG
-AC_CHECK_HEADER([ffmpeg/avformat.h],
+AC_CHECK_HEADER([libavformat/avformat.h],
   [AC_CHECK_LIB([avformat], [av_open_input_file],
     [AC_DEFINE(HAVE_FFMPEG)
      echo "-lavformat -lavcodec -lm $use" > ${module_path}/.file_ffmpeg.cflags
--- modules/file_ffmpeg.c~	2008-06-07 08:45:24.000000000 +0200
+++ modules/file_ffmpeg.c	2008-06-07 08:47:42.000000000 +0200
@@ -37,8 +37,8 @@
 #warning "Not building ffmpeg support."
 #else
 
-#include <ffmpeg/avformat.h>
-#include <ffmpeg/avcodec.h>
+#include <libavformat/avformat.h>
+#include <libavcodec/avcodec.h>
 
 struct ffmpeg_data {
     AVFormatContext *format_context;