Add alw as a valid file extension for alaw and ulw as a valid file extension for ulaw.

(closes issue #14001)
Reported by: henrikw
Patches:
      alw.diff uploaded by henrikw (license 627)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-12-08 21:41:50 +00:00
parent 5d67d461aa
commit ca38e81892

View File

@@ -415,7 +415,7 @@ static off_t au_tell(struct ast_filestream *fs)
static const struct ast_format alaw_f = {
.name = "alaw",
.exts = "alaw|al",
.exts = "alaw|al|alw",
.format = AST_FORMAT_ALAW,
.write = pcm_write,
.seek = pcm_seek,
@@ -432,7 +432,7 @@ static const struct ast_format alaw_f = {
static const struct ast_format pcm_f = {
.name = "pcm",
.exts = "pcm|ulaw|ul|mu",
.exts = "pcm|ulaw|ul|mu|ulw",
.format = AST_FORMAT_ULAW,
.write = pcm_write,
.seek = pcm_seek,