370
371
band->scan = scan_index_to_tab[scan_indx];
372
373
band->quant_mat = get_bits(&ctx->gb, 5);
377
374
if (band->quant_mat >= FF_ARRAY_ELEMS(quant_index_to_tab)) {
378
375
av_log_ask_for_sample(avctx, "Quantization matrix %d",
380
396
return AVERROR_INVALIDDATA;