hevc: Fix scaling list prediction delta for the 32x32 inter matrix

Fixes ticket #6356.
pull/262/head
Mark Thompson 8 years ago
parent 5de38188f8
commit 88a2e4504d
  1. 1
      libavcodec/hevc_ps.c

@ -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…
Cancel
Save