Merge branch 'videotoolbox-dev' into 'master'

RFC: videotoolbox: ignore null imageBuffer and continue

See merge request videolan/vlc!1790
This commit is contained in:
Zhao Zhili 2024-04-28 07:11:01 +00:00
commit e267d1966c
1 changed files with 1 additions and 2 deletions

View File

@ -2127,8 +2127,7 @@ static void DecoderCallback(void *decompressionOutputRefCon,
}
if (unlikely(!imageBuffer))
{
msg_Err(p_dec, "critical: null imageBuffer with a valid status");
p_sys->vtsession_status = VTSESSION_STATUS_ABORT;
msg_Warn(p_dec, "null imageBuffer with a valid status");
goto end;
}