You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
hevc: Fix scaling list prediction delta for the 32x32 inter matrix
Fixes ticket #6356.
This commit is contained in:
@@ -725,6 +725,7 @@ static int scaling_list_data(GetBitContext *gb, AVCodecContext *avctx, ScalingLi
|
|||||||
* which should already be in the arrays. */
|
* which should already be in the arrays. */
|
||||||
if (delta) {
|
if (delta) {
|
||||||
// Copy from previous array.
|
// Copy from previous array.
|
||||||
|
delta *= (size_id == 3) ? 3 : 1;
|
||||||
if (matrix_id < delta) {
|
if (matrix_id < delta) {
|
||||||
av_log(avctx, AV_LOG_ERROR,
|
av_log(avctx, AV_LOG_ERROR,
|
||||||
"Invalid delta in scaling list data: %d.\n", delta);
|
"Invalid delta in scaling list data: %d.\n", delta);
|
||||||
|
Reference in New Issue
Block a user