--- trunk/xvidcore/src/decoder.c 2020/05/29 21:18:51 2196 +++ trunk/xvidcore/src/decoder.c 2022/01/27 17:47:14 2197 @@ -1538,7 +1538,8 @@ img = &dec->tmp; } - if ((frame->output.plane[0] != NULL) && (frame->output.stride[0] >= dec->width)) { + if ((frame->output.csp == XVID_CSP_INTERNAL) || + ((frame->output.plane[0] != NULL) && (frame->output.stride[0] >= dec->width))) { image_output(img, dec->width, dec->height, dec->edged_width, (uint8_t**)frame->output.plane, frame->output.stride, frame->output.csp, dec->interlacing);