Author: dmeyer
Date: Fri Dec 15 20:11:53 2006
New Revision: 2246
Modified:
trunk/metadata/src/video/mkv.py
Log:
handle length=0
Modified: trunk/metadata/src/video/mkv.py
==============================================================================
--- trunk/metadata/src/video/mkv.py (original)
+++ trunk/metadata/src/video/mkv.py Fri Dec 15 20:11:53 2006
@@ -190,6 +190,8 @@
def compute_len(self, inbuf):
+ if not inbuf:
+ return 0, 0
i = num_ffs = 0
len_mask = 0x80
len = ord(inbuf[0])
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog