diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-08-17 02:06:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-10-23 01:44:40 +0200 |
commit | fcab1b996a219ea49f2f7eaf606cf2ce1adc1958 (patch) | |
tree | a361df284a8961e0e1a4e4fbe2b7428c0f008cae /libavcodec | |
parent | fceedd4de9b2ee68b718d2c895374232971d97be (diff) | |
download | ffmpeg-fcab1b996a219ea49f2f7eaf606cf2ce1adc1958.tar.gz |
avcodec/h264_refs: Document last if() in ff_h264_execute_ref_pic_marking()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 697984b9db4d4d199680f43ac3eb662cd1d37eff)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264_refs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index d46d940dae..9900cd5805 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -814,6 +814,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 |