The branch, master has been updated
       via  edf5b777c9e0a7157351704d8b44d7ee32167446 (commit)
      from  05b8608c76e76b7d8b4ce5e86e0940244fbb737e (commit)


- Log -----------------------------------------------------------------
commit edf5b777c9e0a7157351704d8b44d7ee32167446
Author:     Zhao Zhili <[email protected]>
AuthorDate: Tue Oct 21 01:24:27 2025 +0800
Commit:     James Almer <[email protected]>
CommitDate: Tue Oct 21 13:21:52 2025 +0000

    avcodec/vvc: fix false alarm of missing ref on RASL

diff --git a/libavcodec/vvc/refs.c b/libavcodec/vvc/refs.c
index 1840caa4ec..f134a100b4 100644
--- a/libavcodec/vvc/refs.c
+++ b/libavcodec/vvc/refs.c
@@ -450,7 +450,8 @@ static int add_candidate_ref(VVCContext *s, VVCFrameContext 
*fc, RefPicList *lis
 
     if (!IS_CVSS(s)) {
         const bool ref_corrupt = !ref || (ref->flags & VVC_FRAME_FLAG_CORRUPT);
-        const bool recovering  = s->no_output_before_recovery_flag && 
!GDR_IS_RECOVERED(s);
+        const bool recovering  = s->no_output_before_recovery_flag &&
+            (IS_RASL(s) || !GDR_IS_RECOVERED(s));
 
         if (ref_corrupt && !recovering) {
             if (!(s->avctx->flags & AV_CODEC_FLAG_OUTPUT_CORRUPT) &&

-----------------------------------------------------------------------

Summary of changes:
 libavcodec/vvc/refs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to