Commit c3ed18a2 authored by reimar's avatar reimar

Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning:

libavformat/asf.c:112: warning: 'is_mms' defined but not used


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11815 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4c572068
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment