replace av_log(0, by av_log(NULL,
The first parameter is a pointer and NULL is more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -675,7 +675,7 @@ static int read_dct_coeffs(GetBitContext *gb, int32_t block[64], const uint8_t *
|
||||
} else {
|
||||
quant_idx = q;
|
||||
if (quant_idx > 15U) {
|
||||
av_log(0, AV_LOG_ERROR, "quant_index %d out of range\n", quant_idx);
|
||||
av_log(NULL, AV_LOG_ERROR, "quant_index %d out of range\n", quant_idx);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user