mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 18:11:11 +01:00
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:
parent
0983084625
commit
7ed6bee406
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue