--- branches/release-1_3-branch/xvidcore/src/decoder.c 2022/01/27 17:47:14 2197 +++ branches/release-1_3-branch/xvidcore/src/decoder.c 2022/01/27 17:47:33 2198 @@ -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);