[FFmpeg-devel] [PATCH 2/2] avcodec/h264_refs: Document last if() in ff_h264_execute_ref_pic_marking()

Michael Niedermayer michael at niedermayer.cc
Fri Aug 17 03:08:41 EEST 2018


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavcodec/h264_refs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index 26711c0d85..eaf965e43d 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -812,6 +812,7 @@ int ff_h264_execute_ref_pic_marking(H264Context *h)
         }
     }
 
+    // Detect unmarked random access points
     if (   err >= 0
         && h->long_ref_count==0
         && (   h->short_ref_count<=2
-- 
2.18.0



More information about the ffmpeg-devel mailing list