[MPlayer-dev-eng] [patch] division by zero in stream/tvi_v4l2.c when norm not set
Jarek Czekalski
jarekczek at poczta.onet.pl
Sat Jan 1 18:04:08 CET 2011
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 patched code just checking if the divider is
zero and then omit the test. Attached diff. After applying the diff recording
seems to go well.
Regards
Jarek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20101218_v4l2_div_zero.diff
Type: text/x-patch
Size: 569 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110101/ee597a37/attachment.bin>
More information about the MPlayer-dev-eng
mailing list