Signed-off-by: Jack Lau <jacklau1...@qq.com> --- libavformat/tls_openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c index 3ed4585ecf..4f950a2fde 100644 --- a/libavformat/tls_openssl.c +++ b/libavformat/tls_openssl.c @@ -695,7 +695,7 @@ static int dtls_handshake(URLContext *h) } /* Check whether the DTLS is completed. */ - if (SSL_is_init_finished(p->ssl) != 1) + if (SSL_is_init_finished(p->ssl) != TLS_ST_OK) goto end; ret = 0; p->tls_shared.state = DTLS_STATE_FINISHED; -- 2.49.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".