Index: stream/asf_mmst_streaming.c =================================================================== --- stream/asf_mmst_streaming.c (revisione 29084) +++ stream/asf_mmst_streaming.c (copia locale) @@ -588,6 +588,13 @@ len = recv (s, data, BUF_SIZE, 0) ; + if (get_32(data, 36) != 0x00040001) { + mp_msg(MSGT_NETWORK, MSGL_FATAL, "Unexpected server response, exiting.\n"); + closesocket(s); + free(path); + return -1; + } + /*This sends details of the local machine IP address to a Funnel system at the server. * Also, the TCP or UDP transport selection is sent. *