diff options
author | Frank Plowman <post@frankplowman.com> | 2024-06-09 12:17:26 +0100 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-06-12 20:48:08 +0800 |
commit | d72a5fe719c01da07af30e4402a7c3cd994b4cfc (patch) | |
tree | 0533cff9fee0739ed52e5225b9fad7d22548af0c /tests/fate/truehd.mak | |
parent | edcfa846cfbaeeccc8a48f2792ab2eba9f1706c7 (diff) | |
download | ffmpeg-d72a5fe719c01da07af30e4402a7c3cd994b4cfc.tar.gz |
lavc/vvc: Prevent overflow in chroma QP derivation
On the top of p. 112 in VVC (09/2023):
It is a requirement of bitstream conformance that the values of
qpInVal[ i ][ j ] and qpOutVal[ i ][ j ] shall be in the range
of −QpBdOffset to 63, inclusive for i in the range of 0 to
numQpTables − 1, inclusive, and j in the range of 0 to
sps_num_points_in_qp_table_minus1[ i ] + 1, inclusive.
Additionally, don't discard the return code from sps_chroma_qp_table.
Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'tests/fate/truehd.mak')
0 files changed, 0 insertions, 0 deletions