mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-06 14:53:23 +00:00
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:
parent
d6f142a1f8
commit
4b13335d1c
@ -123,7 +123,7 @@ static char *extradata2psets(AVCodecContext *c)
|
|||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
if (av_base64_encode(p, MAX_PSET_SIZE - (p - psets), r, r1 - r) == NULL) {
|
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);
|
av_free(psets);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user