patch-stream_asf_streaming_c 894 B

123456789101112131415161718192021222324252627
  1. --- mplayer-1.0-32749.orig/stream/asf_streaming.c 2011-01-03 11:26:52.000000000 +0100
  2. +++ mplayer-1.0-32749/stream/asf_streaming.c 2011-07-29 17:54:35.013424616 +0200
  3. @@ -38,7 +38,6 @@
  4. #include "stream.h"
  5. #include "libmpdemux/demuxer.h"
  6. -#include "asf_mmst_streaming.h"
  7. #include "network.h"
  8. #include "tcp.h"
  9. @@ -87,16 +86,6 @@ static int asf_streaming_start( stream_t
  10. if( fd==-2 ) return -1;
  11. }
  12. - //Is protocol mms or mmst?
  13. - if (!strcasecmp(proto, "mmst") || !strcasecmp(proto, "mms"))
  14. - {
  15. - mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/TCP...\n");
  16. - fd = asf_mmst_streaming_start( stream );
  17. - stream->streaming_ctrl->url->port = port;
  18. - if( fd>-1 ) return fd;
  19. - mp_msg(MSGT_NETWORK,MSGL_V," ===> ASF/TCP failed\n");
  20. - if( fd==-2 ) return -1;
  21. - }
  22. //Is protocol http, http_proxy, or mms?
  23. if (!strcasecmp(proto, "http_proxy") || !strcasecmp(proto, "http") ||