diff options
-rw-r--r-- | pdp_opencv_motempl.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pdp_opencv_motempl.c b/pdp_opencv_motempl.c index 6f21efc..53808f9 100644 --- a/pdp_opencv_motempl.c +++ b/pdp_opencv_motempl.c @@ -316,8 +316,11 @@ static void pdp_opencv_motempl_min_time_delta(t_pdp_opencv_motempl *x, t_floatar static void pdp_opencv_motempl_frame_buffer_num(t_pdp_opencv_motempl *x, t_floatarg f) { - if (f>=3) x->frame_buffer_num = (int)f; - x->buf = NULL; + if (f>=3) + { + x->frame_buffer_num = (int)f; + x->buf = NULL; + } } static void pdp_opencv_motempl_sendpacket(t_pdp_opencv_motempl *x) |