mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
lavf/rtpenc_jpeg: Warn if number of present quantization tables is not two.
This commit is contained in:
parent
d8d2f934bd
commit
32d8726a31
@ -119,6 +119,10 @@ void ff_rtp_send_jpeg(AVFormatContext *s1, const uint8_t *buf, int size)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (nb_qtables && nb_qtables != 2)
|
||||
av_log(s1, AV_LOG_WARNING,
|
||||
"RFC 2435 suggests two quantization tables, %d provided\n",
|
||||
nb_qtables);
|
||||
|
||||
/* skip JPEG header */
|
||||
buf += i;
|
||||
|
Loading…
Reference in New Issue
Block a user