From 4b13335d1cd9b82a01139f6a2aeb55ace5419955 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 4 May 2008 10:35:13 +0000 Subject: [PATCH] Use correct length modifier for pointer diff argument in av_log() call. Originally committed as revision 13057 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/sdp.c b/libavformat/sdp.c index bddfcd6138..7592aec3be 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -123,7 +123,7 @@ static char *extradata2psets(AVCodecContext *c) p++; } if (av_base64_encode(p, MAX_PSET_SIZE - (p - psets), r, r1 - r) == NULL) { - av_log(c, AV_LOG_ERROR, "Cannot BASE64 encode %d %d!\n", MAX_PSET_SIZE - (p - psets), r1 - r); + av_log(c, AV_LOG_ERROR, "Cannot BASE64 encode %td %td!\n", MAX_PSET_SIZE - (p - psets), r1 - r); av_free(psets); return NULL;