Fixed build warnings
This commit is contained in:
parent
5c6de77fc8
commit
b93d3d7a55
@ -65,13 +65,10 @@ void CV_FramecountTest::run(int)
|
|||||||
|
|
||||||
ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str());
|
ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str());
|
||||||
|
|
||||||
int failed = 0;
|
|
||||||
Ptr<CvCapture> cap;
|
Ptr<CvCapture> cap;
|
||||||
|
|
||||||
for (size_t i = 0; i < n; ++i)
|
for (size_t i = 0; i < n; ++i)
|
||||||
{
|
{
|
||||||
int code = cvtest::TS::OK;
|
|
||||||
|
|
||||||
string file_path = src_dir+"video/big_buck_bunny."+ext[i];
|
string file_path = src_dir+"video/big_buck_bunny."+ext[i];
|
||||||
|
|
||||||
cap = cvCreateFileCapture(file_path.c_str());
|
cap = cvCreateFileCapture(file_path.c_str());
|
||||||
|
@ -452,7 +452,7 @@ void CV_HighGuiTest::SpecificVideoTest(const string& dir, const cvtest::VideoFor
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < FRAME_COUNT; i++)
|
for (int i = 0; (size_t)i < FRAME_COUNT; i++)
|
||||||
{
|
{
|
||||||
Mat frame; cap >> frame;
|
Mat frame; cap >> frame;
|
||||||
if (frame.empty())
|
if (frame.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user