ffmpegdecoder: check if instance open before validating pix fmt

This commit is contained in:
itsmattkc
2022-05-22 15:30:20 -07:00
parent cab62ba5d1
commit d68cce17f6
2 changed files with 10 additions and 3 deletions
+5
View File
@@ -87,6 +87,11 @@ private:
bool Open(const char* filename, int stream_index);
bool IsOpen() const
{
return fmt_ctx_;
}
void Close();
/**