Commit ad7c5cba authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/rtpenc_jpeg: Do not check the table number when checking precision.

parent 2c7f7a69
......@@ -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");
......
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