diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 21:17:46 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 21:17:46 +0000 |
commit | 4d65da424aad0d60d3e02e5c8f0d4944ac0b5b75 (patch) | |
tree | b4c88bb7f9db5d51e5c78f84e150a82a1a6f7d5f /libavformat/asf.c | |
parent | b630a39ecd43a4bdb01d0025c044ce89ad9d0053 (diff) | |
download | ffmpeg-4d65da424aad0d60d3e02e5c8f0d4944ac0b5b75.tar.gz |
Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning:
libavformat/asf.c:112: warning: 'is_mms' defined but not used
Originally committed as revision 11815 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r-- | libavformat/asf.c | 2 |
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) { |