On Feb 26, 2013, at 19:00 01, Andy Sayler wrote: > Might this kind of situation to which Postel's Law applies: Be > conservative in what you do, be liberal in what you accept from > others?
I've been looking into that. While there are some places in RD where we already do it, working around this particular problem would involve a significant redesign of the code that reads WAV files (the RDWaveFile class). That's a very fundamental class in RD; any problems with it can cause major breakage to cascade throughout the system. Also, all I've seen of this bug thus far is one sample where the chunk length field is one less than it ought to be; I've no idea whether that is the form in which it always manifests or if it can show up in other ways --e.g. an offset that is *two* short, or even longer than it ought to be. This is the problem with heuristics. They have a nasty habit of proliferating and gunking up otherwise straightforward algorithms. The result all too often is a more fragile system than would otherwise be the case. I don't think we want to do that, merely for the sake of supporting what is a demonstrably broken file format. Cheers! |-------------------------------------------------------------------------| | Frederick F. Gleason, Jr. | Chief Developer | | | Paravel Systems | |-------------------------------------------------------------------------| | "No, `Eureka!' is Greek for `This bath is too hot!'" | | -- Dr. Who | |-------------------------------------------------------------------------| _______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
