[FFmpeg-cvslog] r11827 - trunk/libavformat/asf.c

reimar subversion
Sun Feb 3 12:18:53 CET 2008


Author: reimar
Date: Sun Feb  3 12:18:53 2008
New Revision: 11827

Log:
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.


Modified:
   trunk/libavformat/asf.c

Modified: trunk/libavformat/asf.c
==============================================================================
--- trunk/libavformat/asf.c	(original)
+++ trunk/libavformat/asf.c	Sun Feb  3 12:18:53 2008
@@ -108,14 +108,6 @@ static void get_str16(ByteIOContext *pb,
 }
 #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(AVFormatConte
         }
     }
 
-#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:




More information about the ffmpeg-cvslog mailing list