clang-tidy: use auto
The type is duplicated otherwise Found with modernize-use-auto Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
bedcf1cce5
commit
1d7a8f992f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user