Use correct length modifier for pointer diff argument in av_log() call.

Originally committed as revision 13057 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-05-04 10:35:13 +00:00
parent d6f142a1f8
commit 4b13335d1c
1 changed files with 1 additions and 1 deletions

View File

@ -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;