Skip to content

Commit aa4ac00

Browse files
committed
fix seg fault on linux
1 parent fd8963a commit aa4ac00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vision_process.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ namespace vision
198198

199199
//printf("%s\n", oss.str().c_str());
200200

201-
FILE* pp = popen(oss.str().c_str(), "rb");
201+
FILE* pp = popen(oss.str().c_str(), "r");
202202

203203
while (!feof(pp))
204204
{

0 commit comments

Comments
 (0)