Skip to content
Snippets Groups Projects
Commit 8866f608 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

#2918: fix SHMSink::resize_area() too often called

parent 8cb40158
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ SHMSink::stop()
bool
SHMSink::resize_area(size_t desired_length)
{
if (desired_length < shm_area_len_)
if (desired_length <= shm_area_len_)
return true;
shm_unlock();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment