Mercurial > libavformat.hg
changeset 136:6b74809d2496 libavformat
Warning and compatibility fixes.
author | mellum |
---|---|
date | Sat, 24 May 2003 18:48:30 +0000 |
parents | 56590088f801 |
children | 857a026b7e93 |
files | asf.c mov.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/asf.c Thu May 22 14:12:22 2003 +0000 +++ b/asf.c Sat May 24 18:48:30 2003 +0000 @@ -993,7 +993,7 @@ 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_seek(AVFormatContext *s, int64_t pts) { - printf("SEEK TO %Ld", pts); + printf("SEEK TO %lld", pts); return -1; }
--- a/mov.c Thu May 22 14:12:22 2003 +0000 +++ b/mov.c Sat May 24 18:48:30 2003 +0000 @@ -1369,7 +1369,7 @@ /* 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; }