From 20374ea59f35e10f7c08f1d54752ed15b2c3c463 Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 26 Feb 2021 07:05:20 +0800 Subject: [PATCH] Fix build warning --- trunk/src/app/srs_app_rtc_jitbuffer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/src/app/srs_app_rtc_jitbuffer.cpp b/trunk/src/app/srs_app_rtc_jitbuffer.cpp index 69d6becbc..cf3c172e2 100644 --- a/trunk/src/app/srs_app_rtc_jitbuffer.cpp +++ b/trunk/src/app/srs_app_rtc_jitbuffer.cpp @@ -1800,6 +1800,9 @@ SrsRtpFrameBuffer* SrsRtpJitterBuffer::ExtractAndSetDecode(uint32_t timestamp) } } + // Fix build warnings: variable ‘continuous’ set but not used + (void)continuous; + // The state must be changed to decoding before cleaning up zero sized // frames to avoid empty frames being cleaned up and then given to the // decoder. Propagates the missing_frame bit.