# HG changeset patch # User reimar # Date 1202037533 0 # Node ID 532809e27981aed0b49441bd49d6992822105255 # Parent d6f8c7cc47f94d533eabe0ee7920cf266271efec Remove ff_mms_set_stream_selection again from asf demuxer, it does not seem like a good solution to the problem and will cause dependency problems if a libavprotocols should be split out. diff -r d6f8c7cc47f9 -r 532809e27981 asf.c --- a/asf.c Sat Feb 02 22:55:58 2008 +0000 +++ b/asf.c Sun Feb 03 11:18:53 2008 +0000 @@ -108,14 +108,6 @@ } #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 @@ } } -#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: