[asterisk-commits] file: trunk r161869 - /trunk/formats/format_pcm.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 8 15:41:52 CST 2008
Author: file
Date: Mon Dec 8 15:41:50 2008
New Revision: 161869
URL: http://svn.digium.com/view/asterisk?view=rev&rev=161869
Log:
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)
Modified:
trunk/formats/format_pcm.c
Modified: trunk/formats/format_pcm.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_pcm.c?view=diff&rev=161869&r1=161868&r2=161869
==============================================================================
--- trunk/formats/format_pcm.c (original)
+++ trunk/formats/format_pcm.c Mon Dec 8 15:41:50 2008
@@ -415,7 +415,7 @@
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 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,
More information about the asterisk-commits
mailing list