mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
lavf/rtpenc_jpeg: Do not check the table number when checking precision.
This commit is contained in:
parent
2c7f7a690f
commit
ad7c5cba4e
@ -63,7 +63,7 @@ void ff_rtp_send_jpeg(AVFormatContext *s1, const uint8_t *buf, int size)
|
||||
continue;
|
||||
|
||||
if (buf[i + 1] == DQT) {
|
||||
if (buf[i + 4])
|
||||
if (buf[i + 4] & 0xF0)
|
||||
av_log(s1, AV_LOG_WARNING,
|
||||
"Only 8-bit precision is supported.\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user