Browse Source

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 697984b9db)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2.13
Michael Niedermayer 7 years ago
parent
commit
59c463f4cc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264_refs.c

+ 1
- 0
libavcodec/h264_refs.c View File

@@ -807,6 +807,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


Loading…
Cancel
Save