mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-12 22:16:21 +00:00
avformat/whip: fix parameter order of ELAPSED
Signed-off-by: Jack Lau <jacklau1222gm@gmail.com>
This commit is contained in:
@@ -1911,7 +1911,7 @@ write_packet:
|
||||
if (now - whip->whip_last_consent_rx_time > WHIP_ICE_CONSENT_EXPIRED_TIMER * WHIP_US_PER_MS) {
|
||||
av_log(whip, AV_LOG_ERROR,
|
||||
"Consent Freshness expired after %.2fms (limited %dms), terminate session\n",
|
||||
ELAPSED(now, whip->whip_last_consent_rx_time), WHIP_ICE_CONSENT_EXPIRED_TIMER);
|
||||
ELAPSED(whip->whip_last_consent_rx_time, now), WHIP_ICE_CONSENT_EXPIRED_TIMER);
|
||||
ret = AVERROR(ETIMEDOUT);
|
||||
goto end;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user