Jason Tackaberry wrote: > On Fri, 2006-11-03 at 19:51 +0100, Hans Meine wrote: >> On Friday 03 November 2006 18:50, SourceForge.net wrote: >> I know this error, it happens when a string contains NULL bytes. >> A simple way to fix this in this case would be to add an if.. statement >> around >> the code in read_m3u() and simply skip the file. (Yes, I guess it's >> a "broken" .m3u file.) > > It'd be better to truncate the string after the first null and try that > path. A bit more robust behavior.
And print a warning in that case. Dischi -- The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" but "That's funny..."' - Isaac Asimov
pgpkyiodkXDkl.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
