summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorFalk Hüffner <mellum@users.sourceforge.net>2003-05-24 18:48:30 +0000
committerFalk Hüffner <mellum@users.sourceforge.net>2003-05-24 18:48:30 +0000
commit4cfbf61bf173e303e253d95717d5038c8c8c529c (patch)
tree329da6e4dd478648a38326868adf19d0758aeb5c /libavformat
parentf184683552090cc9d38a7b1c8d27bb348a2ef7b4 (diff)
Warning and compatibility fixes.
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/asf.c4
-rw-r--r--libavformat/mov.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index e9826adb79..602c3ef0f4 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -993,7 +993,7 @@ static int asf_get_packet(AVFormatContext *s)
int c = get_byte(pb);
if (c != 0x82) {
if (!url_feof(pb))
- printf("ff asf bad header %x at:%Ld\n", c, url_ftell(pb));
+ printf("ff asf bad header %x at:%lld\n", c, url_ftell(pb));
return -EIO;
}
if ((c & 0x0f) == 2) { // always true for now
@@ -1220,7 +1220,7 @@ static int asf_read_close(AVFormatContext *s)
static int asf_read_seek(AVFormatContext *s, int64_t pts)
{
- printf("SEEK TO %Ld", pts);
+ printf("SEEK TO %lld", pts);
return -1;
}
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 3d36225f61..b2faff2f58 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1369,7 +1369,7 @@ static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
/* check MOV header */
err = mov_read_default(mov, pb, atom);
if (err<0 || (!mov->found_moov && !mov->found_mdat)) {
- fprintf(stderr, "mov: header not found !!! (err:%d, moov:%d, mdat:%d) pos:%Ld\n",
+ fprintf(stderr, "mov: header not found !!! (err:%d, moov:%d, mdat:%d) pos:%lld\n",
err, mov->found_moov, mov->found_mdat, url_ftell(pb));
return -1;
}