Opened 14 years ago
Closed 13 years ago
#1836 closed defect (fixed)
division by zero in stream/tvi_v4l2.c when norm not set
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | streaming |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | jarekczek@… | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
I capture from usb camera with mencoder and v4l2. There's a problem in setting a norm form v4l2 with this hardware. Then "Floating point exception is reported". Division by zero in stream/tvi_v4l2.c. The calculation performed there is only to report a warning message. I just checked if the divider is zero and then omit the test. Attached diff. After applying the diff recording seems to go well.
Attachments (2)
Change History (5)
by , 14 years ago
Attachment: | 20101218_v4l2_div_zero.diff added |
---|
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
attachments.isobsolete: | 0 → 1 |
---|
I put my marker BS at the end of line. This probably shouldn't be done, so I reattach the diff.
Note:
See TracTickets
for help on using tickets.
diff solution