Commit a3329a09 authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Michael Niedermayer

avcodec/lcldec: fix decoding of YUV444 sample

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 94f60b65
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment