Adding Invalid Codec exception to AV1 unittest

This commit is contained in:
Jonathan Thomas
2022-11-16 17:11:30 -06:00
parent fdcf9b9118
commit 4039851a66

View File

@@ -345,6 +345,8 @@ TEST_CASE( "Decoding AV1 Video", "[libopenshot][ffmpegreader]" )
// Close reader
r.Close();
} catch (const InvalidCodec & e) {
// Ignore older FFmpeg versions which don't support AV1
} catch (const InvalidFile & e) {
// Ignore older FFmpeg versions which don't support AV1
}