obs-ffmpeg: Fix SRT error type comparison (#7802)

This commit is contained in:
tytan652
2022-11-18 09:17:54 +00:00
committed by GitHub
parent 95f434c591
commit c8a01f92ee
+1 -1
View File
@@ -87,7 +87,7 @@ static int libsrt_neterrno(URLContext *h)
srt_getlasterror_str());
if (err == SRT_EASYNCRCV || err == SRT_EASYNCSND)
return AVERROR(EAGAIN);
if (err = SRT_ECONNREJ) {
if (err == SRT_ECONNREJ) {
int errj = srt_getrejectreason(s->fd);
if (errj == SRT_REJ_BADSECRET)
blog(LOG_ERROR,