packet counter: remoed unneeded packet store

Not needed to store separately "current" buffer packets since it is
already stored in cumulative, it is just needed to store the current
buffer number.
This commit is contained in:
Martin Pulec
2023-08-01 11:14:35 +02:00
parent 2e03e67ba3
commit f106180bbf
4 changed files with 17 additions and 33 deletions

View File

@@ -325,7 +325,6 @@ audio_codec_decompress(struct audio_codec_state *s, audio_frame2 *frame,
nonzero_channels += 1;
}
}
packet_counter_clear_current_frame(counter);
if (nonzero_channels != frame->get_channel_count()) {
log_msg(LOG_LEVEL_WARNING,