浏览代码

change usb_cam_python.fix nsize.

yuchuli 1 年之前
父节点
当前提交
9dbb699066
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
     std::string strvideo = strvideoname;
 
 
-    int nsize;
+    int nsize =gvectorthreadcam.size();
     int i;
     int i;
     iv::threadcam * pthreadcam = NULL;
     iv::threadcam * pthreadcam = NULL;
     int index;
     int index;