diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-08-28 23:56:56 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-08-28 23:56:56 +0000 |
commit | 6a1712ddb502bf148af6f865bd27e3b61dbdfbab (patch) | |
tree | 4935c4a59969e52653951fd82f37b1c196e777ee | |
parent | 37c506e8b94d2691539bc29ef861903503a99b82 (diff) | |
download | ffmpeg-6a1712ddb502bf148af6f865bd27e3b61dbdfbab.tar.gz |
Fix two compiler arnings related to printf-format of sizeof()-statements.
Originally committed as revision 24961 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mmsh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c index 4214b0e111..dbbaab6466 100644 --- a/libavformat/mmsh.c +++ b/libavformat/mmsh.c @@ -117,7 +117,7 @@ static int read_data_packet(MMSHContext *mmsh, const int len) int res; if (len > sizeof(mms->in_buffer)) { av_log(NULL, AV_LOG_ERROR, - "Data packet length %d exceeds the in_buffer size %d\n", + "Data packet length %d exceeds the in_buffer size %zu\n", len, sizeof(mms->in_buffer)); return AVERROR(EIO); } @@ -192,7 +192,7 @@ static int get_http_header_data(MMSHContext *mmsh) if (len) { if (len > sizeof(mms->in_buffer)) { av_log(NULL, AV_LOG_ERROR, - "Other packet len = %d exceed the in_buffer size %d\n", + "Other packet len = %d exceed the in_buffer size %zu\n", len, sizeof(mms->in_buffer)); return AVERROR(EIO); } |