[FFmpeg-cvslog] wmavoice: Make format string match variable type.

Alex Converse git at videolan.org
Mon Nov 28 01:14:15 CET 2011


ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Sat Nov 26 19:40:34 2011 -0800| [f11b0e95434937aba4ec652d1fc08cc17a71e151] | committer: Alex Converse

wmavoice: Make format string match variable type.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f11b0e95434937aba4ec652d1fc08cc17a71e151
---

 libavcodec/wmavoice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index 61258ba..d6d4cb2 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -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,
-               "Output buffer too small (%d given - %zu needed)\n",
+               "Output buffer too small (%d given - %d needed)\n",
                *data_size, out_size);
         return -1;
     }



More information about the ffmpeg-cvslog mailing list