Skip to content
Snippets Groups Projects
Commit ca38e818 authored by Joshua Colp's avatar Joshua Colp
Browse files

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
parent 5d67d461
No related branches found
No related tags found
No related merge requests found
...@@ -415,7 +415,7 @@ static off_t au_tell(struct ast_filestream *fs) ...@@ -415,7 +415,7 @@ static off_t au_tell(struct ast_filestream *fs)
static const struct ast_format alaw_f = { static const struct ast_format alaw_f = {
.name = "alaw", .name = "alaw",
.exts = "alaw|al", .exts = "alaw|al|alw",
.format = AST_FORMAT_ALAW, .format = AST_FORMAT_ALAW,
.write = pcm_write, .write = pcm_write,
.seek = pcm_seek, .seek = pcm_seek,
...@@ -432,7 +432,7 @@ static const struct ast_format alaw_f = { ...@@ -432,7 +432,7 @@ static const struct ast_format alaw_f = {
static const struct ast_format pcm_f = { static const struct ast_format pcm_f = {
.name = "pcm", .name = "pcm",
.exts = "pcm|ulaw|ul|mu", .exts = "pcm|ulaw|ul|mu|ulw",
.format = AST_FORMAT_ULAW, .format = AST_FORMAT_ULAW,
.write = pcm_write, .write = pcm_write,
.seek = pcm_seek, .seek = pcm_seek,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment