footage: account for invalid streams before valid streams

Fixes #1983
This commit is contained in:
itsmattkc
2022-07-24 08:57:09 -07:00
parent d7748c4ace
commit 02f4be6e3c
6 changed files with 37 additions and 7 deletions
+2
View File
@@ -513,6 +513,8 @@ FootageDescription FFmpegDecoder::Probe(const QString &filename, CancelAtom *can
}
desc.SetStreamCount(fmt_ctx->nb_streams);
}
// Free all memory