From: Josh Allmann Date: Thu, 4 Aug 2016 19:50:43 +0000 (+0000) Subject: FS-9404 Handle sequence rollovers in mod_av handling of inbound H.263. X-Git-Tag: v1.6.11~9^2~78^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16162fd74797222c7a73a866fdd96e732b6f02d2;p=thirdparty%2Ffreeswitch.git FS-9404 Handle sequence rollovers in mod_av handling of inbound H.263. --- diff --git a/src/mod/applications/mod_av/avcodec.c b/src/mod/applications/mod_av/avcodec.c index e76b4030ba..0f47d40a79 100644 --- a/src/mod/applications/mod_av/avcodec.c +++ b/src/mod/applications/mod_av/avcodec.c @@ -342,10 +342,7 @@ static switch_status_t buffer_h263_packets(h264_codec_context_t *context, switch } } // return SWITCH_STATUS_RESTART; - } else if (delta < 1) { - // probabaly stream changed - return SWITCH_STATUS_RESTART; - } else { // delta == 1 + } else { context->last_seq = frame->seq; }