mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
wmavoice: Make format string match variable type.
This commit is contained in:
parent
498605b4ad
commit
f11b0e9543
@ -1795,7 +1795,7 @@ static int synth_superframe(AVCodecContext *ctx,
|
|||||||
out_size = n_samples * av_get_bytes_per_sample(ctx->sample_fmt);
|
out_size = n_samples * av_get_bytes_per_sample(ctx->sample_fmt);
|
||||||
if (*data_size < out_size) {
|
if (*data_size < out_size) {
|
||||||
av_log(ctx, AV_LOG_ERROR,
|
av_log(ctx, AV_LOG_ERROR,
|
||||||
"Output buffer too small (%d given - %zu needed)\n",
|
"Output buffer too small (%d given - %d needed)\n",
|
||||||
*data_size, out_size);
|
*data_size, out_size);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user