aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-11-01 22:39:58 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-01 22:39:58 +0000
commit949b1a13bf4434ade235fdcd783c5fe0d27c0c3b (patch)
tree78e083fd51f0f9cbf88b86cc2422616608c17c35 /libavformat/asf.c
parent523fc7c17ddd0b4e31b9fb590483ac4c34e0b5f8 (diff)
downloadffmpeg-949b1a13bf4434ade235fdcd783c5fe0d27c0c3b.tar.gz
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index 712c41911f..cecce7f320 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -167,9 +167,9 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
get_guid(pb, &g);
gsize = get_le64(pb);
#ifdef DEBUG
- printf("%08Lx: ", url_ftell(pb) - 24);
+ printf("%08"PRIx64": ", url_ftell(pb) - 24);
print_guid(&g);
- printf(" size=0x%Lx\n", gsize);
+ printf(" size=0x%"PRIx64"\n", gsize);
#endif
if (gsize < 24)
goto fail;
@@ -512,7 +512,7 @@ static int asf_get_packet(AVFormatContext *s)
rsize+=2;
/* }else{
if (!url_feof(pb))
- printf("ff asf bad header %x at:%lld\n", c, url_ftell(pb));
+ printf("ff asf bad header %x at:%"PRId64"\n", c, url_ftell(pb));
return AVERROR_IO;*/
}
@@ -566,7 +566,7 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
|| asf->packet_segments < 1) {
//asf->packet_size_left <= asf->packet_padsize) {
int ret = asf->packet_size_left + asf->packet_padsize;
- //printf("PacketLeftSize:%d Pad:%d Pos:%Ld\n", asf->packet_size_left, asf->packet_padsize, url_ftell(pb));
+ //printf("PacketLeftSize:%d Pad:%d Pos:%"PRId64"\n", asf->packet_size_left, asf->packet_padsize, url_ftell(pb));
if((url_ftell(&s->pb) + ret - s->data_offset) % asf->packet_size)
ret += asf->packet_size - ((url_ftell(&s->pb) + ret - s->data_offset) % asf->packet_size);
assert(ret>=0);
@@ -845,7 +845,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos,
}
*ppos= pos;
-//printf("found keyframe at %Ld stream %d stamp:%Ld\n", *ppos, stream_index, pts);
+//printf("found keyframe at %"PRId64" stream %d stamp:%"PRId64"\n", *ppos, stream_index, pts);
return pts;
}