summaryrefslogtreecommitdiff
path: root/libavcodec/h264_refs.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-08-17 02:06:27 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-09-03 00:01:32 +0200
commit697984b9db4d4d199680f43ac3eb662cd1d37eff (patch)
treeedaafcd18b8cb57dff04255e5c29cd8bfe7eb594 /libavcodec/h264_refs.c
parentb544850a524f71dba9163d7b0606767ea2572412 (diff)
downloadffmpeg-697984b9db4d4d199680f43ac3eb662cd1d37eff.tar.gz
avcodec/h264_refs: Document last if() in ff_h264_execute_ref_pic_marking()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r--libavcodec/h264_refs.c1
1 files changed, 1 insertions, 0 deletions
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