diff options
author | Joshua Colp <jcolp@digium.com> | 2008-12-08 21:41:50 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-12-08 21:41:50 +0000 |
commit | ca38e818928a0d8d81efe2cd7649280e734df23e (patch) | |
tree | fb17e00ea11a951497c94376e10aeb196b0f35a8 | |
parent | 5d67d461aaccca8277bf2fd15f6b24efa2c148c5 (diff) |
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
-rw-r--r-- | formats/format_pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c index 60f32892f..1a5637f3a 100644 --- a/formats/format_pcm.c +++ b/formats/format_pcm.c @@ -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, |