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

This commit is contained in:
Carl Eugen Hoyos 2015-07-09 20:00:31 +02:00
parent 2c7f7a690f
commit ad7c5cba4e
1 changed files with 1 additions and 1 deletions

View File

@ -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");