From eee84bced95727366343dc445e4f4d5b0f336bb0 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 4 Mar 2008 01:02:13 +0000 Subject: [PATCH] Fix ffmpeg support, -lavcodec was added to both libs (avcodec/avformat), fix the 2nd to be -lavformat. Originally committed to SVN as r1881. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index d32e6162d..94ecbed9f 100644 --- a/configure.in +++ b/configure.in @@ -174,7 +174,7 @@ AC_ARG_WITH(ffmpeg, [ --without-ffmpeg build without FFMPEG video provid if test "$with_ffmpeg" != "no"; then 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"]) if test "$with_swscale" = "no"; then