diff --git a/libavformat/rtpdec_jpeg.c b/libavformat/rtpdec_jpeg.c index 6bf88f8c3a..f3a2060523 100644 --- a/libavformat/rtpdec_jpeg.c +++ b/libavformat/rtpdec_jpeg.c @@ -245,12 +245,6 @@ static int jpeg_parse_packet(AVFormatContext *ctx, PayloadContext *jpeg, len -= 4; type &= ~0x40; } - /* Parse the restart marker header. */ - if (type > 63) { - av_log(ctx, AV_LOG_ERROR, - "Unimplemented RTP/JPEG restart marker header.\n"); - return AVERROR_PATCHWELCOME; - } if (type > 1) { av_log(ctx, AV_LOG_ERROR, "Unimplemented RTP/JPEG type %d\n", type); return AVERROR_PATCHWELCOME;