From ec01e9c6a641dd1eb08b04c8853928007aeaa075 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 27 Feb 2026 18:33:13 +0100 Subject: [PATCH] kmvc: update test after AVI extradata handling change Previously AVI demuxer put everything after BMP header into extradata, now it splits that into actual BMP header extradata and palette following that BMP header. This makes a difference for KMVC since it takes into account when extradata contains palette and not. --- nihav-game/src/codecs/kmvc.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/nihav-game/src/codecs/kmvc.rs b/nihav-game/src/codecs/kmvc.rs index f1a3ab1..fc53c21 100644 --- a/nihav-game/src/codecs/kmvc.rs +++ b/nihav-game/src/codecs/kmvc.rs @@ -429,16 +429,16 @@ mod test { [0xcd000e61, 0xd5c852f0, 0xe97ea320, 0x7465ddc7], [0xddcc347d, 0xb87eff08, 0xe6b5e9ab, 0xbc2e2f72], [0x98f0f17f, 0x30b5ea8c, 0xb6a2eddc, 0x2f15fff6], - [0xe2fa257a, 0x2a24eda0, 0x0fe85644, 0x7b796130], - [0x96521427, 0x5a9f9e12, 0x7b1ffeff, 0x4b94f0c3], - [0x5d72afa7, 0x954e8404, 0x5598f536, 0x63e60d08], - [0xce3fc2df, 0x98b067a2, 0xf85c597f, 0x45797ff5], - [0x9f86d7bd, 0x3cac2a08, 0xdd00788e, 0x5d8a4731], - [0x6f0b9bda, 0x0613670c, 0xe9f3f75d, 0x0ef112c9], - [0x549ef3ee, 0xb7c582b7, 0xf995b7fe, 0x62140120], - [0xcd29a18d, 0x0c51e581, 0x3dc8e1eb, 0x3dea5759], - [0xb8bd405c, 0xd674557f, 0x9d783ccc, 0x75893613], - [0x922084d6, 0xc36fdcfc, 0x46bfe658, 0x7bb5922a], - [0xc237a20b, 0xbaacd94f, 0xc09a1665, 0xd988132d]])); + [0x57a112da, 0x63be0e1b, 0xdcaacd7f, 0x3a4641ab], + [0x193e0a2e, 0xa479788e, 0x50272920, 0x3dc49615], + [0xf9d2fa80, 0x877a6c7c, 0x4f3952ac, 0x9d313b24], + [0xc989630c, 0x8c0561f5, 0x79d46df5, 0x2b9ebb18], + [0x4f5094aa, 0xb81f5113, 0x19f10f85, 0x9d07a581], + [0x6c2b7137, 0x064b9a6e, 0xd93d02fa, 0x1e6386fe], + [0x885a3f40, 0x70dbe025, 0x0de44fda, 0x5fea2b80], + [0x06cc1bbe, 0x21da3777, 0xa234b9c1, 0xd2935e94], + [0xd4b41e5d, 0x24a29669, 0xba56c1ce, 0xf061d40a], + [0xfd4c132d, 0x990fbd30, 0x0c06da8e, 0xb169c0fd], + [0xbc31dd90, 0x0c5260e6, 0x7cd81571, 0xc05dc6f5]])); } } -- 2.39.5