You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
lavc/vvc: Don't discard palette_subblock_data return code
Signed-off-by: Frank Plowman <post@frankplowman.com>
This commit is contained in:
@ -2118,9 +2118,12 @@ static int hls_palette_coding(VVCLocalContext *lc, const VVCTreeType tree_type)
|
|||||||
palette_qp(lc, tree_type, escape_present);
|
palette_qp(lc, tree_type, escape_present);
|
||||||
|
|
||||||
index[0] = 0;
|
index[0] = 0;
|
||||||
for (int i = 0; i <= (cu->cb_width * cu->cb_height - 1) >> 4; i++)
|
for (int i = 0; i <= (cu->cb_width * cu->cb_height - 1) >> 4; i++) {
|
||||||
palette_subblock_data(lc, max_index, i, transpose,
|
ret = palette_subblock_data(lc, max_index, i, transpose,
|
||||||
run_type, index, &prev_run_pos, &adjust);
|
run_type, index, &prev_run_pos, &adjust);
|
||||||
|
if (ret < 0)
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user