Fix slice decrement for skipped slices Test: run the poc with and without the patch Bug: 63045918 Change-Id: I27804d42c55480c25303d1a5dbb43b1d86d7fa94 (cherry picked from commit 272f2c23c8ba8579adb0618b4124163b9bf086fb)
diff --git a/decoder/ihevcd_decode.c b/decoder/ihevcd_decode.c index 87c3bd7..7b82e84 100644 --- a/decoder/ihevcd_decode.c +++ b/decoder/ihevcd_decode.c
@@ -633,7 +633,6 @@ if(IHEVCD_IGNORE_SLICE == ret) { - ps_codec->s_parse.i4_cur_slice_idx = MAX(0, (ps_codec->s_parse.i4_cur_slice_idx - 1)); ps_codec->pu1_inp_bitsbuf += (nal_ofst + nal_len); ps_codec->i4_bytes_remaining -= (nal_ofst + nal_len);