summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.c
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-23 07:40:25 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-23 07:40:25 +0000
commit469f2d1b7e6c2251cbc9418b111f5bc700c7a262 (patch)
tree22b66580776b79f44269a4000ae12e1e8bfe6116 /libmpdemux/network.c
parent646c35a06e71beb4a4b60d312f5bf9d3db088226 (diff)
downloadmpv-469f2d1b7e6c2251cbc9418b111f5bc700c7a262.tar.bz2
mpv-469f2d1b7e6c2251cbc9418b111f5bc700c7a262.tar.xz
Handle HTTP OK response that doesn't contain a mime-type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4818 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/network.c')
-rw-r--r--libmpdemux/network.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index 2f71facfa6..91a55cb741 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -426,11 +426,10 @@ extension=NULL;
return 0;
}
}
- // Not found in the mime type table, don't fail,
- // we should try raw HTTP
- return 0;
}
- break;
+ // Not found in the mime type table, don't fail,
+ // we should try raw HTTP
+ return 0;
// Redirect
case 301: // Permanently
case 302: // Temporarily