[FFmpeg-cvslog] avcodec/h264_refs: Document last if() in ff_h264_execute_ref_pic_marking()
Michael Niedermayer
git at videolan.org
Tue Nov 20 18:39:44 EET 2018
ffmpeg | branch: release/2.8 | Michael Niedermayer <michael at niedermayer.cc> | Fri Aug 17 02:06:27 2018 +0200| [fb0cd972a704fbe8100837c16b18e2cbde3d5215] | committer: Michael Niedermayer
avcodec/h264_refs: Document last if() in ff_h264_execute_ref_pic_marking()
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 697984b9db4d4d199680f43ac3eb662cd1d37eff)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb0cd972a704fbe8100837c16b18e2cbde3d5215
---
libavcodec/h264_refs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index a3de6b2f35..5ec7f2d061 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -813,6 +813,7 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count)
pps_ref_count[1] = FFMAX(pps_ref_count[1], h->pps.ref_count[1]);
}
+ // Detect unmarked random access points
if ( err >= 0
&& h->long_ref_count==0
&& ( h->short_ref_count<=2
More information about the ffmpeg-cvslog
mailing list