Commit c3bcd22e authored by Martin Storsjö's avatar Martin Storsjö
Browse files

rtpdec_jpeg: Error out on other unsupported type values as well

Signed-off-by: default avatarMartin Storsjö <>
parent 1743938d
......@@ -246,6 +246,10 @@ static int jpeg_parse_packet(AVFormatContext *ctx, PayloadContext *jpeg,
"Unimplemented RTP/JPEG restart marker header.\n");
if (type > 1) {
av_log(ctx, AV_LOG_ERROR, "Unimplemented RTP/JPEG type %d\n", type);
/* Parse the quantization table header. */
if (off == 0) {
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