diff options
Diffstat (limited to 'codecs/ex_adpcm.h')
-rw-r--r-- | codecs/ex_adpcm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codecs/ex_adpcm.h b/codecs/ex_adpcm.h index 96b7c51f8..360239789 100644 --- a/codecs/ex_adpcm.h +++ b/codecs/ex_adpcm.h @@ -26,7 +26,8 @@ static struct ast_frame *adpcm_sample(void) .src = __PRETTY_FUNCTION__, .data.ptr = ex_adpcm, }; - ast_format_set(&f.subclass.format, AST_FORMAT_ADPCM, 0); + + f.subclass.format = ast_format_adpcm; return &f; } |