Explorar el Código

change usb_cam_python.fix nsize.

yuchuli hace 1 año
padre
commit
9dbb699066
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/driver/driver_camera_ioctl/usb_cam_python.cpp

+ 1 - 1
src/driver/driver_camera_ioctl/usb_cam_python.cpp

@@ -302,7 +302,7 @@ int StopCam(char * strvideoname)
 {
     std::string strvideo = strvideoname;
 
-    int nsize;
+    int nsize =gvectorthreadcam.size();
     int i;
     iv::threadcam * pthreadcam = NULL;
     int index;