Mercurial > libavformat.hg
diff asf.c @ 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 | bc099b0e8b6f |
children | 532809e27981 |
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) {