mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avfilter/af_astats: clear all stats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
c09248aecd
commit
0d65a7d033
@ -98,7 +98,7 @@ static void reset_stats(AudioStatsContext *s)
|
||||
{
|
||||
int c;
|
||||
|
||||
memset(s->chstats, 0, sizeof(*s->chstats));
|
||||
memset(s->chstats, 0, sizeof(*s->chstats) * s->nb_channels);
|
||||
|
||||
for (c = 0; c < s->nb_channels; c++) {
|
||||
ChannelStats *p = &s->chstats[c];
|
||||
|
Loading…
Reference in New Issue
Block a user