Commit d2d8e797 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevcdec: repeat character in skiped

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent fccc37ca
...@@ -508,7 +508,7 @@ static int hls_slice_header(HEVCContext *s) ...@@ -508,7 +508,7 @@ static int hls_slice_header(HEVCContext *s)
sh->first_slice_in_pic_flag = get_bits1(gb); sh->first_slice_in_pic_flag = get_bits1(gb);
if (s->ref && sh->first_slice_in_pic_flag) { 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"); 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) { if ((IS_IDR(s) || IS_BLA(s)) && sh->first_slice_in_pic_flag) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment