summaryrefslogtreecommitdiff
path: root/libavformat/crc.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-12-12 01:56:46 +0000
committerMåns Rullgård <mans@mansr.com>2005-12-12 01:56:46 +0000
commit4733abcbf30fb662785d0c4ad3a0601e749dc57d (patch)
tree5b8bbe0c89f35eb6fedc535909dae1ffc65bc67f /libavformat/crc.c
parentfccfc4753386d3aacb067f5e4117ea4d266acf72 (diff)
use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/crc.c')
-rw-r--r--libavformat/crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/crc.c b/libavformat/crc.c
index 809102564a..991ccf8a27 100644
--- a/libavformat/crc.c
+++ b/libavformat/crc.c
@@ -94,7 +94,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
uint32_t crc = update_adler32(0, pkt->data, pkt->size);
char buf[256];
- snprintf(buf, sizeof(buf), "%d, %Ld, %d, 0x%08x\n", pkt->stream_index, pkt->dts, pkt->size, crc);
+ snprintf(buf, sizeof(buf), "%d, %"PRId64", %d, 0x%08x\n", pkt->stream_index, pkt->dts, pkt->size, crc);
put_buffer(&s->pb, buf, strlen(buf));
put_flush_packet(&s->pb);
return 0;