Opened 16 years ago
Closed 16 years ago
#5687 closed defect (fixed)
switch/case in calcBPM is a touch strange
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
The switch/case in calcBPM in util-xvmc.h is a bit strange. Almost all of the cases produce 6 as the return value. So they could be consolidated to just two decisions.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | libs_libmythtv-missing-break.patch added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from Isaac Richards to danielk |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
reworks switch/case to be a bit more efficient