Author: dmeyer
Date: Thu Mar 30 12:52:51 2006
New Revision: 1365
Modified:
trunk/metadata/src/video/mpeginfo.py
Log:
fix crash
Modified: trunk/metadata/src/video/mpeginfo.py
==============================================================================
--- trunk/metadata/src/video/mpeginfo.py (original)
+++ trunk/metadata/src/video/mpeginfo.py Thu Mar 30 12:52:51 2006
@@ -426,7 +426,7 @@
offset = 0
# seek until the 0 byte stop
- while buffer[offset] == '\0':
+ while offset < len(buffer)-100 and buffer[offset] == '\0':
offset += 1
offset -= 2
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog