diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-05-09 10:57:55 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-05-09 10:57:55 +0200 |
commit | 36bdeea0e7c1587f24b50ee82e55064fad17aa9c (patch) | |
tree | 2c36b00e898291ed30318bc244bdd3ff409f5773 /ext/ffmpeg/gstffmpegprotocol.c | |
parent | da8d4abad2d023888f560fb91b1d347e975ed38a (diff) |
win32: Fix non-portable printf format.
Diffstat (limited to 'ext/ffmpeg/gstffmpegprotocol.c')
-rw-r--r-- | ext/ffmpeg/gstffmpegprotocol.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/ffmpeg/gstffmpegprotocol.c b/ext/ffmpeg/gstffmpegprotocol.c index 50d35b1..6134a3a 100644 --- a/ext/ffmpeg/gstffmpegprotocol.c +++ b/ext/ffmpeg/gstffmpegprotocol.c @@ -104,7 +104,8 @@ gst_ffmpegdata_peek (URLContext * h, unsigned char *buf, int size) g_return_val_if_fail (h->flags == URL_RDONLY, AVERROR_IO); info = (GstProtocolInfo *) h->priv_data; - GST_DEBUG ("Pulling %d bytes at position %lld", size, info->offset); + GST_DEBUG ("Pulling %d bytes at position %" G_GUINT64_FORMAT, size, + info->offset); ret = gst_pad_pull_range (info->pad, info->offset, (guint) size, &inbuf); @@ -140,7 +141,8 @@ gst_ffmpegdata_read (URLContext * h, unsigned char *buf, int size) info = (GstProtocolInfo *) h->priv_data; - GST_DEBUG ("Reading %d bytes of data at position %lld", size, info->offset); + GST_DEBUG ("Reading %d bytes of data at position %" G_GUINT64_FORMAT, size, + info->offset); res = gst_ffmpegdata_peek (h, buf, size); if (res >= 0) @@ -250,7 +252,8 @@ gst_ffmpegdata_seek (URLContext * h, int64_t pos, int whence) break; } - GST_DEBUG ("Now at offset %lld (returning %lld)", info->offset, newpos); + GST_DEBUG ("Now at offset %" G_GUINT64_FORMAT " (returning %" G_GUINT64_FORMAT + ")", info->offset, newpos); return newpos; } |