shithub: mcfs

Download patch

ref: ae64d6cc645b83c922f85918a8f7c85693a85839
parent: a930f637273d91a18e381a76af87dab44a2a3f50
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Feb 17 15:58:00 EST 2021

matroska: fix garbage at the end of each block with xiph lacing

--- a/matroska.c
+++ b/matroska.c
@@ -345,6 +345,7 @@
 						packets[i].sz = 0;
 						do{
 							packets[i].sz += buf[off];
+							sz--;
 						}while(buf[off++] == 0xff);
 					}
 					for(i = 0; i < npackets-1; i++){