aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-03 11:18:53 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-03 11:18:53 +0000
commit7abe438045bef535420f4f3e94dd9b3947cde805 (patch)
treeee31694d8991291be5bcfa647795f0025982cfb5
parented5d7a531cd878aaa02804f8def1eb897b43d4ac (diff)
downloadffmpeg-7abe438045bef535420f4f3e94dd9b3947cde805.tar.gz
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. Originally committed as revision 11827 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/asf.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index b365307137..30330c535a 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: