summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-11-18 20:39:44 +0100
committerPaul B Mahol <onemda@gmail.com>2018-11-18 21:21:18 +0100
commitc834f52c001886a75f255882348a4e2bfd83066a (patch)
tree8bd7a20e20908c0c700ba0c271e81f799a664960
parentf79750bc320a379478784a9b736adf032d06485d (diff)
downloadffmpeg-streaming-c834f52c001886a75f255882348a4e2bfd83066a.zip
ffmpeg-streaming-c834f52c001886a75f255882348a4e2bfd83066a.tar.gz
avfilter/af_aecho: use av_sscanf()
-rw-r--r--libavfilter/af_aecho.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_aecho.c b/libavfilter/af_aecho.c
index b9ac18d..876a149 100644
--- a/libavfilter/af_aecho.c
+++ b/libavfilter/af_aecho.c
@@ -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;
OpenPOWER on IntegriCloud