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

reimar subversion
Sat Feb 2 22:17:46 CET 2008


Author: reimar
Date: Sat Feb  2 22:17:46 2008
New Revision: 11815

Log:
Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning:
libavformat/asf.c:112: warning: 'is_mms' defined but not used


Modified:
   trunk/libavformat/asf.c

Modified: trunk/libavformat/asf.c
==============================================================================
--- trunk/libavformat/asf.c	(original)
+++ trunk/libavformat/asf.c	Sat Feb  2 22:17:46 2008
@@ -108,11 +108,13 @@ 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)
 {




More information about the ffmpeg-cvslog mailing list