wmavoice: Make format string match variable type.
authorAlex Converse <alex.converse@gmail.com>
Sun, 27 Nov 2011 03:40:34 +0000 (19:40 -0800)
committerAlex Converse <alex.converse@gmail.com>
Sun, 27 Nov 2011 03:40:34 +0000 (19:40 -0800)
libavcodec/wmavoice.c

index 61258ba..d6d4cb2 100644 (file)
@@ -1795,7 +1795,7 @@ static int synth_superframe(AVCodecContext *ctx,
     out_size = n_samples * av_get_bytes_per_sample(ctx->sample_fmt);
     if (*data_size < out_size) {
         av_log(ctx, AV_LOG_ERROR,
     out_size = n_samples * av_get_bytes_per_sample(ctx->sample_fmt);
     if (*data_size < out_size) {
         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);
         return -1;
     }
                *data_size, out_size);
         return -1;
     }