Mercurial > mplayer.hg
comparison stream/asf_streaming.c @ 24257:d261f5109660
cosmetics: typo fix UNSUPORTED --> UNSUPPORTED
author | diego |
---|---|
date | Tue, 28 Aug 2007 22:38:45 +0000 |
parents | c056ed2819e8 |
children | c1d17bd6683c |
comparison
equal
deleted
inserted
replaced
24256:587555a43c76 | 24257:d261f5109660 |
---|---|
852 | 852 |
853 mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_MPDEMUX_ASF_InfoStreamASFURL, stream->url); | 853 mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_MPDEMUX_ASF_InfoStreamASFURL, stream->url); |
854 if((!strncmp(stream->url, "http", 4)) && (*file_format!=DEMUXER_TYPE_ASF && *file_format!=DEMUXER_TYPE_UNKNOWN)) { | 854 if((!strncmp(stream->url, "http", 4)) && (*file_format!=DEMUXER_TYPE_ASF && *file_format!=DEMUXER_TYPE_UNKNOWN)) { |
855 streaming_ctrl_free(stream->streaming_ctrl); | 855 streaming_ctrl_free(stream->streaming_ctrl); |
856 stream->streaming_ctrl = NULL; | 856 stream->streaming_ctrl = NULL; |
857 return STREAM_UNSUPORTED; | 857 return STREAM_UNSUPPORTED; |
858 } | 858 } |
859 | 859 |
860 if(asf_streaming_start(stream, file_format) < 0) { | 860 if(asf_streaming_start(stream, file_format) < 0) { |
861 mp_msg(MSGT_OPEN, MSGL_ERR, MSGTR_MPDEMUX_ASF_StreamingFailed); | 861 mp_msg(MSGT_OPEN, MSGL_ERR, MSGTR_MPDEMUX_ASF_StreamingFailed); |
862 streaming_ctrl_free(stream->streaming_ctrl); | 862 streaming_ctrl_free(stream->streaming_ctrl); |
863 stream->streaming_ctrl = NULL; | 863 stream->streaming_ctrl = NULL; |
864 return STREAM_UNSUPORTED; | 864 return STREAM_UNSUPPORTED; |
865 } | 865 } |
866 | 866 |
867 *file_format = DEMUXER_TYPE_ASF; | 867 *file_format = DEMUXER_TYPE_ASF; |
868 stream->type = STREAMTYPE_STREAM; | 868 stream->type = STREAMTYPE_STREAM; |
869 fixup_network_stream_cache(stream); | 869 fixup_network_stream_cache(stream); |