mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
obs-ffmpeg: Fix SRT error type comparison (#7802)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user