mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-15 15:22:36 +07:00
Merge "Fix slice address zero for not first slice in pic" into lmp-dev am: 114aff802c am: ad70f9c5e2 am: 20a7f0e1b4 am: ef0772c3ca am: 198f56da58 am: 769c1bfda4 am: 84cd0f6f22 am: 377b26c01a
am: e63ad6b0b8
Change-Id: I3e8c7699eee9995c3ba96d8e33197299dc4b2068
This commit is contained in:
commit
fe799184d3
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ IHEVCD_ERROR_T ihevcd_parse_slice_header(codec_t *ps_codec,
|
|||
slice_address = value;
|
||||
/* If slice address is greater than the number of CTBs in a picture,
|
||||
* ignore the slice */
|
||||
if(value >= ps_sps->i4_pic_size_in_ctb)
|
||||
if(value >= ps_sps->i4_pic_size_in_ctb || value <= 0)
|
||||
return IHEVCD_IGNORE_SLICE;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue