summaryrefslogtreecommitdiff
path: root/libavformat/asf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index ae84ba2253..b365307137 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -108,11 +108,13 @@ 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)
{