[MPlayer-dev-eng] MPlayer-1.0pre6a http streaming seek bug
wen-king at myri.com
Sat Jan 15 15:29:56 CET 2005
In the file libmpdemux/network.c, there is one place where the format
code used in a formatted print is wrong. In function http_send_request,
// Extend http_send_request with possibility to do partial content retrieval
snprintf(str, 256, "Range: bytes=%d-", pos);
The format string "%d" is used to print "pos", which is of type off_t.
off_t can be 32 bits or 64 bits depending on the compilation environment.
Perhaps one can use #ifdef to choose between %d and %lld (or %I64d for
More information about the MPlayer-dev-eng