diff options
author | Marvin Scholz <epirat07@gmail.com> | 2025-06-25 21:25:31 +0200 |
---|---|---|
committer | Marvin Scholz <epirat07@gmail.com> | 2025-07-07 01:52:46 +0200 |
commit | 1702becd64ea7aac2a1d04ba23b01bc94e3420e3 (patch) | |
tree | 3b72eafb0168bc03a4dce8776b195dbbec48acd6 /libavformat/tls_openssl.c | |
parent | f0913b3f16c31f96f626fd43b85ac8762376b06f (diff) | |
download | ffmpeg-1702becd64ea7aac2a1d04ba23b01bc94e3420e3.tar.gz |
avformat/tls_openssl: remove now unnecessary define
This was used previously when multiple OpenSSL versions were supported
that required this to be handled differently.
Diffstat (limited to 'libavformat/tls_openssl.c')
-rw-r--r-- | libavformat/tls_openssl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c index 9ea1a9f515..65c644c30e 100644 --- a/libavformat/tls_openssl.c +++ b/libavformat/tls_openssl.c @@ -567,11 +567,9 @@ static int url_bio_destroy(BIO *b) return 1; } -#define GET_BIO_DATA(x) BIO_get_data(x) - static int url_bio_bread(BIO *b, char *buf, int len) { - TLSContext *c = GET_BIO_DATA(b); + TLSContext *c = BIO_get_data(b); int ret = ffurl_read(c->tls_shared.is_dtls ? c->tls_shared.udp : c->tls_shared.tcp, buf, len); if (ret >= 0) return ret; @@ -587,7 +585,7 @@ static int url_bio_bread(BIO *b, char *buf, int len) static int url_bio_bwrite(BIO *b, const char *buf, int len) { - TLSContext *c = GET_BIO_DATA(b); + TLSContext *c = BIO_get_data(b); int ret = ffurl_write(c->tls_shared.is_dtls ? c->tls_shared.udp : c->tls_shared.tcp, buf, len); if (ret >= 0) return ret; |