changeset 3000:6b2d05ded051 libavformat

Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning: libavformat/asf.c:112: warning: 'is_mms' defined but not used
author reimar
date Sat, 02 Feb 2008 21:17:46 +0000
parents dea83239a88d
children 78d61e1a8496
files asf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/asf.c	Sat Feb 02 20:58:58 2008 +0000
+++ b/asf.c	Sat Feb 02 21:17:46 2008 +0000
@@ -108,11 +108,13 @@
 }
 #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)
 {