diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-28 19:21:56 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-28 19:21:56 +0000 |
commit | 9cf022d5fd218f03a2f3d8d754cdd5b70e5c2441 (patch) | |
tree | ce19253ce691a11b44ee5c1022550e4d96846ad2 /main/frame.c | |
parent | a6d5aa22b9633ec86933ff844bfbf86c5a6b9dd5 (diff) |
removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49020 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/frame.c b/main/frame.c index 812c15a52..078713975 100644 --- a/main/frame.c +++ b/main/frame.c @@ -1195,7 +1195,7 @@ int ast_codec_pref_setsize(struct ast_codec_pref *pref, int format, int framems) struct ast_format_list ast_codec_pref_getsize(struct ast_codec_pref *pref, int format) { int x, index = -1, framems = 0; - struct ast_format_list fmt; + struct ast_format_list fmt = {0}; for (x = 0; x < sizeof(AST_FORMAT_LIST) / sizeof(AST_FORMAT_LIST[0]); x++) { if(AST_FORMAT_LIST[x].bits == format) { |