mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-14 09:39:20 +00:00
alsdec: pretty print for another log message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ad029c24a6
commit
daeffccd98
@ -696,7 +696,7 @@ static int read_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)
|
|||||||
int offset = parcor_rice_table[sconf->coef_table][k][0];
|
int offset = parcor_rice_table[sconf->coef_table][k][0];
|
||||||
quant_cof[k] = decode_rice(gb, rice_param) + offset;
|
quant_cof[k] = decode_rice(gb, rice_param) + offset;
|
||||||
if (quant_cof[k] < -64 || quant_cof[k] > 63) {
|
if (quant_cof[k] < -64 || quant_cof[k] > 63) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "quant_cof %d is out of range\n", quant_cof[k]);
|
av_log(avctx, AV_LOG_ERROR, "Quantization coefficient %d is out of range.\n", quant_cof[k]);
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user