mirror of https://git.ffmpeg.org/ffmpeg.git
hevc: Fix scaling list prediction delta for the 32x32 inter matrix
Fixes ticket #6356.
This commit is contained in:
parent
5de38188f8
commit
88a2e4504d
|
@ -725,6 +725,7 @@ static int scaling_list_data(GetBitContext *gb, AVCodecContext *avctx, ScalingLi
|
|||
* which should already be in the arrays. */
|
||||
if (delta) {
|
||||
// Copy from previous array.
|
||||
delta *= (size_id == 3) ? 3 : 1;
|
||||
if (matrix_id < delta) {
|
||||
av_log(avctx, AV_LOG_ERROR,
|
||||
"Invalid delta in scaling list data: %d.\n", delta);
|
||||
|
|
Loading…
Reference in New Issue