Commit 59210c3f authored by Felix Paul Kühne's avatar Felix Paul Kühne

Revert [fc995169]

parent c524218d
...@@ -2770,6 +2770,17 @@ dnl Trying with pkg-config ...@@ -2770,6 +2770,17 @@ dnl Trying with pkg-config
fi fi
fi fi
dnl Check if we have (required) img_resample() in libavcodec
if test "${enable_ffmpeg}" != "no"
then
VLC_SAVE_FLAGS
CFLAGS="${CFLAGS} ${CFLAGS_ffmpeg}"
LDFLAGS="${LDFLAGS} ${LDFLAGS_ffmpeg}"
AC_CHECK_LIB(avcodec, img_resample, ,
[AC_MSG_ERROR([Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled])], -lavutil)
VLC_RESTORE_FLAGS
fi
dnl dnl
dnl ffmpegaltivec plugin dnl ffmpegaltivec plugin
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment