mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Merge commit 'f6e2f8a9ff'
* commit 'f6e2f8a9ff':
hevcdec: move parameter set parsing into a separate header
Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
4a5810b659
7 changed files with 366 additions and 330 deletions
|
|
@ -329,7 +329,7 @@ int ff_hevc_slice_rpl(HEVCContext *s)
|
|||
while (rpl_tmp.nb_refs < sh->nb_refs[list_idx]) {
|
||||
for (i = 0; i < FF_ARRAY_ELEMS(cand_lists); i++) {
|
||||
RefPicList *rps = &s->rps[cand_lists[i]];
|
||||
for (j = 0; j < rps->nb_refs && rpl_tmp.nb_refs < MAX_REFS; j++) {
|
||||
for (j = 0; j < rps->nb_refs && rpl_tmp.nb_refs < HEVC_MAX_REFS; j++) {
|
||||
rpl_tmp.list[rpl_tmp.nb_refs] = rps->list[j];
|
||||
rpl_tmp.ref[rpl_tmp.nb_refs] = rps->ref[j];
|
||||
rpl_tmp.isLongTerm[rpl_tmp.nb_refs] = i == 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue