diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-09-26 09:39:38 +0000 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-09-26 09:39:38 +0000 |
| commit | bb568c2d5e7eeafc74724796058c32680563a643 (patch) | |
| tree | bcdd0c78096981cc6c60fde20e646a3b4845c351 /repos/extra/ffmpeg/libressl.patch | |
| parent | a40ac02b13b3ed35a25fe6c9521cde8ee342e8ce (diff) | |
| download | alicelinux-bb568c2d5e7eeafc74724796058c32680563a643.tar.gz alicelinux-bb568c2d5e7eeafc74724796058c32680563a643.zip | |
ffmpeg: updated to 8.0
Diffstat (limited to 'repos/extra/ffmpeg/libressl.patch')
| -rw-r--r-- | repos/extra/ffmpeg/libressl.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/repos/extra/ffmpeg/libressl.patch b/repos/extra/ffmpeg/libressl.patch new file mode 100644 index 00000000..17398d4b --- /dev/null +++ b/repos/extra/ffmpeg/libressl.patch @@ -0,0 +1,33 @@ +--- ffmpeg-8.0-orig/libavformat/tls_openssl.c ++++ ffmpeg-8.0/libavformat/tls_openssl.c +@@ -716,7 +716,7 @@ + } + + /* Check whether the handshake is completed. */ +- if (SSL_is_init_finished(p->ssl) != TLS_ST_OK) ++ if (!SSL_is_init_finished(p->ssl)) + goto end; + + ret = 0; +@@ -869,7 +869,9 @@ + c->mtu = 1096; + SSL_set_options(p->ssl, SSL_OP_NO_QUERY_MTU); + SSL_set_mtu(p->ssl, c->mtu); +- DTLS_set_link_mtu(p->ssl, c->mtu); ++ #ifndef LIBRESSL_VERSION_NUMBER ++ DTLS_set_link_mtu(p->ssl, c->mtu); ++ #endif + init_bio_method(h); + if (p->tls_shared.external_sock != 1) { + if ((ret = ff_tls_open_underlying(&p->tls_shared, h, url, options)) < 0) { +@@ -1009,7 +1011,9 @@ + uc->flags |= h->flags & AVIO_FLAG_NONBLOCK; + + if (c->tls_shared.is_dtls) +- size = FFMIN(size, DTLS_get_data_mtu(c->ssl)); ++ #ifndef LIBRESSL_VERSION_NUMBER ++ size = FFMIN(size, DTLS_get_data_mtu(c->ssl)); ++ #endif + + ret = SSL_write(c->ssl, buf, size); + if (ret > 0) |