You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
4.3 KiB
63 lines
4.3 KiB
Index: configure |
|
--- configure.orig 2018-02-12 01:29:18.000000000 +0100 |
|
+++ configure 2018-02-12 09:37:19.529353000 +0100 |
|
@@ -5930,7 +5930,7 @@ |
|
enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info |
|
enabled libgme && { use_pkg_config libgme libgme gme/gme.h gme_new_emu || |
|
require libgme gme/gme.h gme_new_emu -lgme -lstdc++; } |
|
-enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do |
|
+enabled libgsm && { for gsm_hdr in "gsm.h" "gsm.h"; do |
|
check_lib libgsm "${gsm_hdr}" gsm_create -lgsm && break; |
|
done || die "ERROR: libgsm not found"; } |
|
enabled libilbc && require libilbc ilbc.h WebRtcIlbcfix_InitDecode -lilbc |
|
@@ -5985,7 +5985,7 @@ |
|
enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy |
|
enabled libsoxr && require libsoxr soxr.h soxr_create -lsoxr && LIBSOXR="-lsoxr" |
|
enabled libssh && require_pkg_config libssh libssh libssh/sftp.h sftp_init |
|
-enabled libspeex && require_pkg_config libspeex speex speex/speex.h speex_decoder_init -lspeex |
|
+enabled libspeex && require_pkg_config libspeex speexdsp speex/speex.h speex_decoder_init -lspeexdsp |
|
enabled libtesseract && require_pkg_config libtesseract tesseract tesseract/capi.h TessBaseAPICreate |
|
enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg |
|
enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame && |
|
@@ -6000,22 +6000,22 @@ |
|
|
|
enabled libvpx && { |
|
enabled libvpx_vp8_decoder && { |
|
- use_pkg_config libvpx_vp8_decoder "vpx >= 0.9.1" "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_vp8_dx || |
|
- check_lib libvpx_vp8_decoder "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx || |
|
+ use_pkg_config libvpx_vp8_decoder "vpx >= 0.9.1" "vpx/vpx_integer.h vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_vp8_dx || |
|
+ check_lib libvpx_vp8_decoder "vpx/vpx_integer.h vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx || |
|
die "ERROR: libvpx decoder version must be >=0.9.1"; |
|
} |
|
enabled libvpx_vp8_encoder && { |
|
- use_pkg_config libvpx_vp8_encoder "vpx >= 0.9.7" "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_vp8_cx || |
|
- check_lib libvpx_vp8_encoder "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_enc_init_ver VP8E_SET_MAX_INTRA_BITRATE_PCT" -lvpx || |
|
+ use_pkg_config libvpx_vp8_encoder "vpx >= 0.9.7" "vpx/vpx_integer.h vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_vp8_cx || |
|
+ check_lib libvpx_vp8_encoder "vpx/vpx_integer.h vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_enc_init_ver VP8E_SET_MAX_INTRA_BITRATE_PCT" -lvpx || |
|
die "ERROR: libvpx encoder version must be >=0.9.7"; |
|
} |
|
enabled libvpx_vp9_decoder && { |
|
- use_pkg_config libvpx_vp9_decoder "vpx >= 1.3.0" "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_vp9_dx || |
|
- check_lib libvpx_vp9_decoder "vpx/vpx_decoder.h vpx/vp8dx.h" "vpx_codec_vp9_dx" -lvpx |
|
+ use_pkg_config libvpx_vp9_decoder "vpx >= 1.3.0" "vpx/vpx_integer.h vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_vp9_dx || |
|
+ check_lib libvpx_vp9_decoder "vpx/vpx_integer.h vpx/vpx_decoder.h vpx/vp8dx.h" "vpx_codec_vp9_dx" -lvpx |
|
} |
|
enabled libvpx_vp9_encoder && { |
|
- use_pkg_config libvpx_vp9_encoder "vpx >= 1.3.0" "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_vp9_cx || |
|
- check_lib libvpx_vp9_encoder "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VP9E_SET_AQ_MODE" -lvpx |
|
+ use_pkg_config libvpx_vp9_encoder "vpx >= 1.3.0" "vpx/vpx_integer.h vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_vp9_cx || |
|
+ check_lib libvpx_vp9_encoder "vpx/vpx_integer.h vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VP9E_SET_AQ_MODE" -lvpx |
|
} |
|
if disabled_all libvpx_vp8_decoder libvpx_vp9_decoder libvpx_vp8_encoder libvpx_vp9_encoder; then |
|
die "libvpx enabled but no supported decoders found" |
|
Index: libavformat/tcp.c |
|
--- libavformat/tcp.c.orig 2018-02-12 01:29:06.000000000 +0100 |
|
+++ libavformat/tcp.c 2018-02-12 09:37:19.530096000 +0100 |
|
@@ -31,6 +31,7 @@ |
|
#if HAVE_POLL_H |
|
#include <poll.h> |
|
#endif |
|
+#include <sys/socket.h> |
|
|
|
typedef struct TCPContext { |
|
const AVClass *class;
|
|
|