diff options
author | Carl Eugen Hoyos | 2014-04-24 18:01:30 +0200 |
---|---|---|
committer | Carl Eugen Hoyos | 2014-04-24 18:01:30 +0200 |
commit | ced0d6c14d1ad717d09f6777fcf424586ca6f036 (patch) | |
tree | 00dc3197aa912800adcb3e0d402fd4e18bd90395 /libavcodec/dvdsubenc.c | |
parent | 9cc4bc973c206ff89c923e6514ae6006d7b7c8fb (diff) |
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 'libavcodec/dvdsubenc.c')
-rw-r--r-- | libavcodec/dvdsubenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c index 8130b74a7a..11858c7f97 100644 --- a/libavcodec/dvdsubenc.c +++ b/libavcodec/dvdsubenc.c @@ -383,7 +383,7 @@ static int encode_dvd_subtitles(AVCodecContext *avctx, qq = outbuf; bytestream_put_be16(&qq, q - outbuf); - av_log(NULL, AV_LOG_DEBUG, "subtitle_packet size=%td\n", q - outbuf); + av_log(NULL, AV_LOG_DEBUG, "subtitle_packet size=%"PTRDIFF_SPECIFIER"\n", q - outbuf); ret = q - outbuf; fail: |