hellomotor / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

Video division by zero #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you pass a default value of 0 for the frame interval, you will get a 
division by zero error; this is because in the CrashHandler.cpp file, at line 
1134, where it sets 

nDuration = 500;

it should be 

nFrameInterval = 500;

(additional checks in CErrorReportSender::RecordVideo() and 
CVideoRecorder::Init() would also be good)

Original issue reported on code.google.com by zexspect...@gmail.com on 28 Feb 2013 at 1:09

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1582.

Original comment by zexspect...@gmail.com on 28 Feb 2013 at 7:47