mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/mjpegbdec: Fix yuv444 pix_fmt detection
by default adobe_transform set to 0 and because of that mjpegb decoder detects yuv444 pix fmt as bgrp
This commit is contained in:
parent
176ac987aa
commit
b6571777d2
@ -56,6 +56,7 @@ static int mjpegb_decode_frame(AVCodecContext *avctx,
|
|||||||
buf_ptr = buf;
|
buf_ptr = buf;
|
||||||
buf_end = buf + buf_size;
|
buf_end = buf + buf_size;
|
||||||
s->got_picture = 0;
|
s->got_picture = 0;
|
||||||
|
s->adobe_transform = -1;
|
||||||
|
|
||||||
read_header:
|
read_header:
|
||||||
/* reset on every SOI */
|
/* reset on every SOI */
|
||||||
|
Loading…
Reference in New Issue
Block a user