[misc-filters PATCH 1/8] Add function check for librtmp, require RTMP_Socket() which was added in version 2.2.f.
Stefano Sabatini
stefano.sabatini-lala
Thu Jul 1 21:45:28 CEST 2010
Avoid a compile-time failure.
---
configure | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 92fdd01..637c436 100755
--- a/configure
+++ b/configure
@@ -2529,7 +2529,8 @@ enabled libnut && require libnut libnut.h nut_demuxer_init -lnut
enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb
enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg
-enabled librtmp && require librtmp librtmp/rtmp.h RTMP_Init $(pkg-config --libs librtmp)
+enabled librtmp && check_lib librtmp/rtmp.h RTMP_Socket $(pkg-config --libs librtmp) ||
+ die "ERROR: RTMP_Socket() missing, librtmp version must be >= 2.2.f"
enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) &&
require libschroedinger schroedinger/schro.h schro_init $(pkg-config --libs schroedinger-1.0)
enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex
--
1.7.1
--tqI+Z3u+9OQ7kwn0--
More information about the ffmpeg-cvslog
mailing list