Browse Source

avcodec/hevcdec: repeat character in skiped

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d2d8e797cc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.0.5
Michael Niedermayer 6 years ago
parent
commit
c9173f8787
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/hevcdec.c

+ 1
- 1
libavcodec/hevcdec.c View File

@@ -491,7 +491,7 @@ static int hls_slice_header(HEVCContext *s)
sh->first_slice_in_pic_flag = get_bits1(gb);
if (s->ref && sh->first_slice_in_pic_flag) {
av_log(s->avctx, AV_LOG_ERROR, "Two slices reporting being the first in the same frame.\n");
return 1; // This slice will be skiped later, do not corrupt state
return 1; // This slice will be skipped later, do not corrupt state
}

if ((IS_IDR(s) || IS_BLA(s)) && sh->first_slice_in_pic_flag) {


Loading…
Cancel
Save