# HG changeset patch # User reimar # Date 1201987066 0 # Node ID 6b2d05ded051cca652731b9a8cabb518ede8b375 # Parent dea83239a88d1b49201e5478cfded5b0690493a2 Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning: libavformat/asf.c:112: warning: 'is_mms' defined but not used diff -r dea83239a88d -r 6b2d05ded051 asf.c --- 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) {