Commit 8a04ddeb authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '5049f6b7'

* commit '5049f6b7':
  rtpdec_jpeg: Coalesce redundant error checks
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents d03da3e2 5049f6b7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment