diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c index c1bffaac0dd7c64b460e06a0a2e11aaa67123ec7..b7d5345ab7ece0e0e10fc4f5f909b4d6f0e88f51 100644 --- a/libavformat/rtpdec_vp8.c +++ b/libavformat/rtpdec_vp8.c @@ -225,11 +225,8 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8, if (vp8->timestamp != *timestamp) { // Missed the start of the new frame, sequence broken - vp8->sequence_ok = 0; - av_log(ctx, AV_LOG_WARNING, - "Received no start marker; dropping frame\n"); - vp8_free_buffer(vp8); - return AVERROR(EAGAIN); + return vp8_broken_sequence(ctx, vp8, + "Received no start marker; dropping frame\n"); } if (seq != expected_seq) {