Commit 4b13335d authored by Diego Biurrun's avatar Diego Biurrun
Browse files

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

Originally committed as revision 13057 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d6f142a1
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment