diff --git a/libavformat/asf.c b/libavformat/asf.c index b365307137a7d8308423ae88d0d04154de535c48..30330c535aacdf67d67163376a5c37eac2facd23 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -108,14 +108,6 @@ static void get_str16(ByteIOContext *pb, char *buf, int buf_size) } #endif -#ifdef CONFIG_MMSH_PROTOCOL -static int is_mms(ByteIOContext *pb) -{ - return url_fileno(pb) && url_fileno(pb)->prot && - !strcmp(url_fileno(pb)->prot->name, "mmsh"); -} -#endif - static void get_str16_nolen(ByteIOContext *pb, int len, char *buf, int buf_size) { char* q = buf; @@ -548,12 +540,6 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) } } -#ifdef CONFIG_MMSH_PROTOCOL - /* Give info about ourselves to the mms protocol */ - if(is_mms(pb)) - ff_mms_set_stream_selection(url_fileno(pb), s); -#endif - return 0; fail: