Version 0.1.12 from FTP
[asterisk/asterisk.git] / frame.c
diff --git a/frame.c b/frame.c
index 9e593bf..9f1c3dd 100755 (executable)
--- a/frame.c
+++ b/frame.c
@@ -175,6 +175,8 @@ int ast_getformatbyname(char *name)
                return AST_FORMAT_SLINEAR;
        else if (!strcasecmp(name, "lpc10"))
                return AST_FORMAT_LPC10;
+       else if (!strcasecmp(name, "adpcm"))
+               return AST_FORMAT_ADPCM;
        else if (!strcasecmp(name, "all"))
                return 0x7FFFFFFF;
        return 0;