by default adobe_transform set to 0 and because of that mjpegb decoder detects yuv444 pix fmt as bgrp --- libavcodec/mjpegbdec.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/libavcodec/mjpegbdec.c b/libavcodec/mjpegbdec.c index 37d7bb8228..70ff4cf563 100644 --- a/libavcodec/mjpegbdec.c +++ b/libavcodec/mjpegbdec.c @@ -56,6 +56,7 @@ static int mjpegb_decode_frame(AVCodecContext *avctx, buf_ptr = buf; buf_end = buf + buf_size; s->got_picture = 0; + s->adobe_transform = -1; read_header: /* reset on every SOI */ -- 2.20.1 (Apple Git-117) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".