[FFmpeg-cvslog] avfilter/af_aecho: use av_sscanf()
Paul B Mahol
git at videolan.org
Sun Nov 18 22:24:49 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Nov 18 20:39:44 2018 +0100| [c834f52c001886a75f255882348a4e2bfd83066a] | committer: Paul B Mahol
avfilter/af_aecho: use av_sscanf()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c834f52c001886a75f255882348a4e2bfd83066a
---
libavfilter/af_aecho.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_aecho.c b/libavfilter/af_aecho.c
index b9ac18d3a4..876a149df4 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;
More information about the ffmpeg-cvslog
mailing list