From 2a306730a4a3897f5cae4468f314d3a47c215bcc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 28 Aug 2019 19:01:41 +0200 Subject: [PATCH] avcodec/hevcdec: repeat character in skiped Signed-off-by: Michael Niedermayer (cherry picked from commit d2d8e797cc4f3cea3470d464bd5f51cd097fe371) Signed-off-by: Michael Niedermayer --- libavcodec/hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 89cd732ea8..de2990b903 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -425,7 +425,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) {