1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

require unsigned arguments for Array(s)Of::reinit

This commit is contained in:
Paul Licameli
2016-04-17 00:30:18 -04:00
parent ef2b747c16
commit aebaaf46a0
11 changed files with 54 additions and 30 deletions

View File

@@ -392,7 +392,7 @@ bool FFmpegImportFileHandle::InitCodecs()
{
// Allocate the array of pointers to hold stream contexts pointers
// Some of the allocated space may be unused (corresponds to video, subtitle, or undecodeable audio streams)
mScs = std::make_shared<Scs>(mFormatContext->nb_streams);
mScs = std::make_shared<Scs>(size_t{mFormatContext->nb_streams});
// Fill the stream contexts
for (unsigned int i = 0; i < mFormatContext->nb_streams; i++)
{