Commit b328442f94180b32a0a43104e7eccc85676104ff
1 parent
cc3b8544
Download bug fix
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/plugins/misc.cpp
| @@ -142,6 +142,7 @@ private: | @@ -142,6 +142,7 @@ private: | ||
| 142 | device = NULL; | 142 | device = NULL; |
| 143 | 143 | ||
| 144 | Mat encoded(1, data.size(), CV_8UC1, (void*)data.data()); | 144 | Mat encoded(1, data.size(), CV_8UC1, (void*)data.data()); |
| 145 | + encoded = encoded.clone(); | ||
| 145 | if (mode == Permissive) { | 146 | if (mode == Permissive) { |
| 146 | dst += encoded; | 147 | dst += encoded; |
| 147 | } else { | 148 | } else { |