mirror of https://github.com/odrling/Aegisub
Fix ffmpeg support, -lavcodec was added to both libs (avcodec/avformat), fix
the 2nd to be -lavformat. Originally committed to SVN as r1881.
This commit is contained in:
parent
f5764fa2e4
commit
eee84bced9
|
@ -174,7 +174,7 @@ AC_ARG_WITH(ffmpeg, [ --without-ffmpeg build without FFMPEG video provid
|
||||||
|
|
||||||
if test "$with_ffmpeg" != "no"; then
|
if test "$with_ffmpeg" != "no"; then
|
||||||
AC_CHECK_LIB([avcodec], [avcodec_init],AVCODEC_LDFLAGS="-lavcodec", [with_ffmpeg=no])
|
AC_CHECK_LIB([avcodec], [avcodec_init],AVCODEC_LDFLAGS="-lavcodec", [with_ffmpeg=no])
|
||||||
AC_CHECK_LIB([avformat], [av_read_frame],AVFORMAT_LDFLAGS="-lavcodec", [with_ffmpeg=no])
|
AC_CHECK_LIB([avformat], [av_read_frame],AVFORMAT_LDFLAGS="-lavformat", [with_ffmpeg=no])
|
||||||
AC_CHECK_LIB([avformat], [sws_scale],[with_swscale="yes"], [with_swscale="no"])
|
AC_CHECK_LIB([avformat], [sws_scale],[with_swscale="yes"], [with_swscale="no"])
|
||||||
|
|
||||||
if test "$with_swscale" = "no"; then
|
if test "$with_swscale" = "no"; then
|
||||||
|
|
Loading…
Reference in New Issue