summaryrefslogtreecommitdiff
path: root/libavformat/sdp.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-04-24 18:01:30 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-04-24 18:01:30 +0200
commitced0d6c14d1ad717d09f6777fcf424586ca6f036 (patch)
tree00dc3197aa912800adcb3e0d402fd4e18bd90395 /libavformat/sdp.c
parent9cc4bc973c206ff89c923e6514ae6006d7b7c8fb (diff)
downloadffmpeg-ced0d6c14d1ad717d09f6777fcf424586ca6f036.tar.gz
Use correct msvc type specifiers for ptrdiff_t and size_t.
The Windows runtime aborts if it finds %t or %z. Fixes ticket #3472. Reviewed-by: Ronald Bultje
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r--libavformat/sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index ae2948355d..c53de90517 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -217,7 +217,7 @@ static char *extradata2psets(AVCodecContext *c)
sps_end = r1;
}
if (av_base64_encode(p, MAX_PSET_SIZE - (p - psets), r, r1 - r) == NULL) {
- av_log(c, AV_LOG_ERROR, "Cannot Base64-encode %td %td!\n", MAX_PSET_SIZE - (p - psets), r1 - r);
+ av_log(c, AV_LOG_ERROR, "Cannot Base64-encode %"PTRDIFF_SPECIFIER" %"PTRDIFF_SPECIFIER"!\n", MAX_PSET_SIZE - (p - psets), r1 - r);
av_free(psets);
return NULL;