diff crc.c @ 881:91dcb9da9be6 libavformat

use PRIxN, %zd, %td formats where needed
author mru
date Mon, 12 Dec 2005 01:56:46 +0000
parents 16df90bf46fd
children da1d5db0ce5c
line wrap: on
line diff
--- a/crc.c	Sat Dec 10 17:14:24 2005 +0000
+++ b/crc.c	Mon Dec 12 01:56:46 2005 +0000
@@ -94,7 +94,7 @@
     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;