diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-06-03 14:51:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-03 14:59:52 +0200 |
commit | 7e7d090907310babeecd3d288ccb5d17d2a85ede (patch) | |
tree | 9b53366d2672e306cd80d55b431561292adfc782 /libavfilter/af_astats.c | |
parent | bbae6521136b2ce2ce5453dc2909a07941b7e18e (diff) | |
download | ffmpeg-7e7d090907310babeecd3d288ccb5d17d2a85ede.tar.gz |
avfilter/af_astats: rename stat()
See CID1026741
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/af_astats.c')
-rw-r--r-- | libavfilter/af_astats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c index e1baa3ca37..9d002a52a7 100644 --- a/libavfilter/af_astats.c +++ b/libavfilter/af_astats.c @@ -105,7 +105,7 @@ static int config_output(AVFilterLink *outlink) return 0; } -static inline void stat(AudioStatsContext *s, ChannelStats *p, double d) +static inline void update_stat(AudioStatsContext *s, ChannelStats *p, double d) { if (d < p->min) { p->min = d; @@ -157,7 +157,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf) src = (const double *)buf->extended_data[c]; for (i = 0; i < buf->nb_samples; i++, src++) - stat(s, p, *src); + update_stat(s, p, *src); } break; case AV_SAMPLE_FMT_DBL: @@ -165,7 +165,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf) for (i = 0; i < buf->nb_samples; i++) { for (c = 0; c < channels; c++, src++) - stat(s, &s->chstats[c], *src); + update_stat(s, &s->chstats[c], *src); } break; } |