mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/lcldec: fix decoding of YUV444 sample
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
94f60b6544
commit
a3329a09f9
@ -191,7 +191,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(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user