From d979bf53d93dc3feb6697a519b12a0bc2756d18f Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期四, 14 三月 2019 10:38:46 +0800
Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of http://192.168.1.226:10010/r/development/c++ into yw.1.2.fixbug

---
 QiaoJiaSystem/VideoAnalysFromHC/main.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp
index 39abc9a..e70d72b 100644
--- a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp
+++ b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp
@@ -84,7 +84,7 @@
     int arg1 = atoi(argv[1]);
 
     int gindx = abs(arg1) % 2;
-    int GB28181_Enable = arg1 < 0 ? 1 : -1;
+    int GB28181_Enable = arg1 < 0 ? 1 : 0;
     DBG(gindx);
     appPref.setIntData("GB28181_Enable", GB28181_Enable);
 

--
Gitblit v1.8.0