Browse Source

avfilter/af_aecho: use av_sscanf()

tags/n4.2
Paul B Mahol 7 years ago
parent
commit
c834f52c00
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_aecho.c

+ 1
- 1
libavfilter/af_aecho.c View File

@@ -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;


Loading…
Cancel
Save