CVS: main/libmpdemux network.c,1.112,1.113
CVS change done by Reimar Döffinger CVS Update of /cvsroot/mplayer/main/libmpdemux In directory mail:/var2/tmp/cvs-serv16426/libmpdemux Modified Files: network.c Log Message: fix seeking over http for files larger 2 GB Index: network.c =================================================================== RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v retrieving revision 1.112 retrieving revision 1.113 diff -u -r1.112 -r1.113 --- network.c 29 May 2005 12:53:59 -0000 1.112 +++ network.c 24 Jun 2005 11:01:00 -0000 1.113 @@ -402,7 +402,11 @@ if(pos>0) { // Extend http_send_request with possibility to do partial content retrieval - snprintf(str, 256, "Range: bytes=%d-", pos); +#ifdef __MINGW32__ + snprintf(str, 256, "Range: bytes=%I64d-", (int64_t)pos); +#else + snprintf(str, 256, "Range: bytes=%lld-", (long long)pos); +#endif http_set_field(http_hdr, str); }
participants (1)
-
syncmail@mplayerhq.hu