Discussion:
[PATCH] configure: fix ffmpeg header detection
Johannes Weißl
2011-05-11 22:44:38 UTC
Permalink
In Fedora, ffmpeg headers are here:
/usr/include/ffmpeg/libavformat/avformat.h
---
configure | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 29bb911..15870d4 100755
--- a/configure
+++ b/configure
@@ -322,11 +322,11 @@ check_ffmpeg()
{
HAVE_FFMPEG_AVCODEC_H=y
pkg_config FFMPEG "libavformat" || return $?
- if check_header "libavcodec/avcodec.h"
+ if check_header "libavcodec/avcodec.h" $FFMPEG_CFLAGS
then
HAVE_FFMPEG_AVCODEC_H=n
else
- check_header "ffmpeg/avcodec.h" || return $?
+ check_header "ffmpeg/avcodec.h" $FFMPEG_CFLAGS || return $?
fi
return 0
}
--
1.7.5.1
Gregory Petrosyan
2011-05-13 08:05:05 UTC
Permalink
Post by Johannes Weißl
/usr/include/ffmpeg/libavformat/avformat.h
---
configure | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Thanks a lot, merged!

Gregory

Loading...