Mercurial > mplayer.hg
changeset 32720:1afbc8e3ff55
100l, fix hack to check for MakeMKV server being inverted.
author | reimar |
---|---|
date | Thu, 20 Jan 2011 19:08:32 +0000 |
parents | 1cdf5ed4b9d8 |
children | 77ef1bcd464f |
files | stream/http.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/http.c Thu Jan 20 12:55:37 2011 +0000 +++ b/stream/http.c Thu Jan 20 19:08:32 2011 +0000 @@ -740,7 +740,8 @@ const char *server = http_get_field(http_hdr, "Server"); if (accept_ranges) seekable = strncmp(accept_ranges,"bytes",5)==0; - else if (server && (strcmp(server, "gvs 1.0") == 0 || strncmp(server, "MakeMKV", 7))) { + else if (server && (strcmp(server, "gvs 1.0") == 0 || + strncmp(server, "MakeMKV", 7) == 0)) { // HACK for youtube and MakeMKV incorrectly claiming not to support seeking mp_msg(MSGT_NETWORK, MSGL_WARN, "Broken webserver, incorrectly claims to not support Accept-Ranges\n"); seekable = 1;