aboutsummaryrefslogtreecommitdiffstats
path: root/main/file.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-09 21:37:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-09 21:37:23 +0000
commit5e8a0a0fb0956e54b67c563eb5c233cd44234c1b (patch)
treef543e9e0621f0f91851b3a80186986917cb10651 /main/file.c
parent6c6f5ca2e41d45c515995ff4b9fd78fb5e0c3127 (diff)
Fudges for wav16, just like wav49
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148070 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/file.c')
-rw-r--r--main/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/file.c b/main/file.c
index a9b36e7f5..9b0bfbbb1 100644
--- a/main/file.c
+++ b/main/file.c
@@ -248,6 +248,8 @@ static char *build_filename(const char *filename, const char *ext)
if (!strcmp(ext, "wav49"))
ext = "WAV";
+ if (!strcmp(ext, "wav16"))
+ ext = "Wav";
if (filename[0] == '/')
asprintf(&fn, "%s.%s", filename, ext);