Suggestion from @neheb

main
Kevin Backhouse 2 years ago
parent 65259d8936
commit e0ac920c87
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E

@ -811,11 +811,9 @@ void MatroskaVideo::decodeBooleanTags(const MatroskaTag* tag, const byte* buf) {
switch (tag->_id) {
case TrackType: // this tags is used internally only to deduce the type of track (video or audio)
internalMt = Exiv2::find(matroskaTrackType, key);
if (internalMt) {
stream_ = internalMt->_id;
if (auto f = Exiv2::find(matroskaTrackType, key)) {
stream_ = f->_id;
}
internalMt = nullptr;
break;
case TrackUsed:
internalMt = Exiv2::find(trackEnable, key);

Loading…
Cancel
Save