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; }