Fudges for wav16, just like wav49

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-10-09 21:37:23 +00:00
parent 9a56bae67a
commit f5d5eb5e19
5 changed files with 28 additions and 8 deletions

View File

@@ -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);