Commit 1d7a8f99 authored by Rosen Penev's avatar Rosen Penev

clang-tidy: use auto

The type is duplicated otherwise Found with modernize-use-auto Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent bedcf1cc
......@@ -37,7 +37,7 @@ InterleaveFrame(const AVFrame &frame, FfmpegBuffer &buffer)
{
assert(frame.nb_samples > 0);
const AVSampleFormat format = AVSampleFormat(frame.format);
const auto format = AVSampleFormat(frame.format);
const unsigned channels = frame.channels;
const std::size_t n_frames = frame.nb_samples;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment