diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/format_pref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/format_pref.c b/main/format_pref.c index 4ab607e16..4ea9f0cc7 100644 --- a/main/format_pref.c +++ b/main/format_pref.c @@ -317,7 +317,7 @@ struct ast_format_list ast_codec_pref_getsize(struct ast_codec_pref *pref, struc /*! \brief Pick a codec */ struct ast_format *ast_codec_choose(struct ast_codec_pref *pref, struct ast_format_cap *cap, int find_best, struct ast_format *result) { - int x, slot, found; + int x, slot, found = 0; size_t f_len = 0; const struct ast_format_list *f_list = ast_format_list_get(&f_len); |