projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b630a39
)
Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning:
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 2 Feb 2008 21:17:46 +0000
(21:17 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 2 Feb 2008 21:17:46 +0000
(21:17 +0000)
libavformat/asf.c:112: warning: 'is_mms' defined but not used
Originally committed as revision 11815 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asf.c
patch
|
blob
|
history
diff --git
a/libavformat/asf.c
b/libavformat/asf.c
index
ae84ba2
..
b365307
100644
(file)
--- 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)
{