diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-24 18:01:30 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-24 18:01:30 +0200 |
commit | ced0d6c14d1ad717d09f6777fcf424586ca6f036 (patch) | |
tree | 00dc3197aa912800adcb3e0d402fd4e18bd90395 /libavformat/sdp.c | |
parent | 9cc4bc973c206ff89c923e6514ae6006d7b7c8fb (diff) | |
download | ffmpeg-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.c | 2 |
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; |