shithub: mcfs

Download patch

ref: 2c5718f371ce2b84ebd513310184351becc7be53
parent: 3c37130311a0387c7dcfd9eadf5270d905b9bab6
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Feb 9 09:30:34 EST 2021

mkvdump: Block does not have "key" flag

--- a/extra/mkvdump.c
+++ b/extra/mkvdump.c
@@ -93,7 +93,7 @@
 				sz -= 3;
 				lacing = (t[2] >> 1) & 3;
 				Bprint(&out, "(track %lld, timecode %d) ", x, (s16int)(t[0]<<8 | t[1]));
-				if(t[2] & 0x80)
+				if(s.id == ESimpleBlock && (t[2] & 0x80) != 0)
 					Bprint(&out, "(key) ");
 				if(lacing != 0)
 					Bprint(&out, "(lacing %d) ", lacing);