Commit 8ce84e0454810bf2fde99fd07c9e7b8490a85b1c
1 parent
0fd33775
Fixed raw self assign
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/plugins/format/raw.cpp
| @@ -38,7 +38,7 @@ class rawFormat : public Format | @@ -38,7 +38,7 @@ class rawFormat : public Format | ||
| 38 | QtUtils::readFile(file, data); | 38 | QtUtils::readFile(file, data); |
| 39 | 39 | ||
| 40 | // The raw file format has no header information, so one must specify resolution | 40 | // The raw file format has no header information, so one must specify resolution |
| 41 | - QSize size = size = QSize(file.get<int>("width"),file.get<int>("height")); | 41 | + QSize size = QSize(file.get<int>("width"),file.get<int>("height")); |
| 42 | Template t(file); | 42 | Template t(file); |
| 43 | QList<Mat> matrices; | 43 | QList<Mat> matrices; |
| 44 | const int bytes = size.width()*size.height(); | 44 | const int bytes = size.width()*size.height(); |