aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin/src/plugins/media/ffmpeg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mediaplugin/src/plugins/media/ffmpeg/configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/mediaplugin/src/plugins/media/ffmpeg/configure.ac b/mediaplugin/src/plugins/media/ffmpeg/configure.ac
index ae5b9508..a1768b5c 100644
--- a/mediaplugin/src/plugins/media/ffmpeg/configure.ac
+++ b/mediaplugin/src/plugins/media/ffmpeg/configure.ac
@@ -82,10 +82,10 @@ AC_DEFUN([ADD_DEFINE],
# find FFmpeg
PKG_CHECK_MODULES([ffmpeg], [libavcodec libavformat libavutil], [
CPPFLAGS="$ffmpeg_CFLAGS $CPPFLAGS"
- AC_CHECK_HEADERS(ffmpeg/avformat.h)
- if [[ HAVE_FFMPEG_AVFORMAT_H ]]; then
- ADD_DEFINE(HAVE_FFMPEG_INCLUDE_DIR)
- fi
+ AC_CHECK_HEADERS(ffmpeg/avformat.h, [
+ # old include layout
+ ADD_DEFINE(HAVE_FFMPEG_INCLUDE_DIR)
+ ])
])
# find FFMpeg's swscale lib (just if FFMpeg is compiled in GPL mode)
PKG_CHECK_MODULES([libswscale], [libswscale],