diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-03 18:25:40 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-03 18:25:40 +0000 |
commit | f054aaf731e5c0cad4967addb59360ecb24b1d47 (patch) | |
tree | c862f4682b90c9446f37083b0fcd5ed6c09adcd1 | |
parent | 0e7fa0bc3ba8eaea3eb623aa269806d2eca3a2c2 (diff) | |
download | ffmpeg-f054aaf731e5c0cad4967addb59360ecb24b1d47.tar.gz |
Add function check for librtmp, require RTMP_Socket() which was added
in version 2.2.f.
Avoid a compile-time failure.
Originally committed as revision 24024 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2549,7 +2549,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: librtmp not found or 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 |