*: use auto

This commit is contained in:
Max Kellermann
2020-02-01 13:55:08 +01:00
parent 4f22f4d357
commit 72ec641f0d
51 changed files with 87 additions and 87 deletions

@@ -480,7 +480,7 @@ DecoderBridge::SubmitData(InputStream *is,
if (dc.end_time.IsPositive()) {
/* enforce the given end time */
const uint64_t end_frame =
const auto end_frame =
dc.end_time.ToScale<uint64_t>(dc.in_audio_format.sample_rate);
if (absolute_frame >= end_frame)
return DecoderCommand::STOP;