X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtpdec_jpeg.c;h=f3a2060523f2a5ec2a547676c7f46620ce125dfd;hb=42f0ed67a34d9c5b9b37d00c2f46dff9d9135da2;hp=6bf88f8c3a46a76e5db202d14af8a2233f83fac2;hpb=bd88914b15e77a4bdc5fb26882a0b4208fdfb727;p=ffmpeg diff --git a/libavformat/rtpdec_jpeg.c b/libavformat/rtpdec_jpeg.c index 6bf88f8c3a4..f3a2060523f 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;