mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-22 05:40:27 +08:00
avcodec/lcldec: fix decoding of YUV444 sample
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a3329a09f9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
60f94f7084
commit
f3c8a8b087
@@ -199,7 +199,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
|
||||
case AV_CODEC_ID_MSZH:
|
||||
switch (c->compression) {
|
||||
case COMP_MSZH:
|
||||
if (c->imgtype == IMGTYPE_RGB24 && len == width * height * 3) {
|
||||
if (c->imgtype == IMGTYPE_RGB24 && len == width * height * 3 ||
|
||||
c->imgtype == IMGTYPE_YUV111 && len == width * height * 3) {
|
||||
;
|
||||
} else if (c->flags & FLAG_MULTITHREAD) {
|
||||
mthread_inlen = AV_RL32(encoded);
|
||||
|
||||
Reference in New Issue
Block a user