summaryrefslogtreecommitdiff
path: root/codecs/ex_g726.h
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/ex_g726.h')
-rw-r--r--codecs/ex_g726.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/ex_g726.h b/codecs/ex_g726.h
index d5438c91a..f125253ee 100644
--- a/codecs/ex_g726.h
+++ b/codecs/ex_g726.h
@@ -27,7 +27,7 @@ static struct ast_frame *g726_sample(void)
.data.ptr = ex_g726,
};
- ast_format_set(&f.subclass.format, AST_FORMAT_G726, 0);
+ f.subclass.format = ast_format_g726;
return &f;
}