Ticket #92 (new defect)
Crash when trackResult does not contain a peak level.
| Reported by: | https://www.google.com/accounts/o8/id?id=aitoawk5srcm6yjgqjx9oa1ruownfuzsldd8l5w | Owned by: | https://thomasvs.myopenid.com/ |
|---|---|---|---|
| Priority: | major | Milestone: | future |
| Component: | morituri | Version: | master |
| Keywords: | Cc: |
Description
For at least one hidden track 0 I have observed a problem with the peak in trackResult being None. The attached patch fixes the resulting crashes. However, what is strange that sometimes the troublesome track resulted in a peak of 0.
Attachments
Change History
Changed 14 months ago by https://www.google.com/accounts/o8/id?id=aitoawk5srcm6yjgqjx9oa1ruownfuzsldd8l5w
-
attachment
0001-Do-not-fail-if-trackResult.peak-is-None.patch
added
comment:1 Changed 14 months ago by http://thomasvs.myopenid.com/
I specifically leave the crashing behaviour there because it should never be None. If it is, then it means that no samples were actually decoded.
What file causes the behaviour ?
comment:2 Changed 14 months ago by http://thomasvs.myopenid.com/
Is it a .flac file? I recently did a patch for flacdec related to this.
Note: See
TracTickets for help on using
tickets.

Patch to deal with 'None' peak level.