fixup! lavc/rkmppdec: refactor RKMPP decoders and extend codecs

fix an issue where invalid frames could be returned.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka 2025-07-23 18:24:30 +08:00
parent 0983084625
commit 7ed6bee406

View file

@ -901,6 +901,7 @@ static int rkmpp_get_frame(AVCodecContext *avctx, AVFrame *frame, int timeout)
mpp_frame_deinit(&mpp_frame);
return rkmpp_get_frame(avctx, frame, MPP_TIMEOUT_MAX);
}
ret = AVERROR(EAGAIN);
goto exit;
} else {
export: