Signed-off-by: Michael Niedermayer <mich...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel