Commit c834f52c authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_aecho: use av_sscanf()

parent f79750bc
......@@ -78,7 +78,7 @@ static void fill_items(char *item_str, int *nb_items, float *items)
char *tstr = av_strtok(p, "|", &saveptr);
p = NULL;
if (tstr)
new_nb_items += sscanf(tstr, "%f", &items[new_nb_items]) == 1;
new_nb_items += av_sscanf(tstr, "%f", &items[new_nb_items]) == 1;
}
*nb_items = new_nb_items;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment