[UTC][capi-media-vision][Non-ACR][Fixed 'cont int' to #define macro]
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 31 Oct 2016 11:44:16 +0000 (20:44 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Mon, 31 Oct 2016 11:44:50 +0000 (20:44 +0900)
Change-Id: I2b08be30a8c8eea225ebc4f12a18c3f987c000bc
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
src/utc/capi-media-vision/utc-mv_surveillance.c

index 59269c0..e7110cb 100755 (executable)
@@ -27,6 +27,8 @@
 #include "tct_common.h"
 #include <storage.h>
 
+#define expected_number_of_mov_regions 2
+
 static bool isVisionSupported = false;
 static int gStartupError;
 static mv_surveillance_event_trigger_h movement_detected_trigger = NULL;
@@ -1466,7 +1468,6 @@ int utc_mediavision_mv_surveillance_get_result_value_p1(void)
        assert(gEventResult);
 
        /* This results are available after second push source */
-       const int expected_number_of_mov_regions = 2;
        int actual_number_of_mov_regions = 0;
        int error = mv_surveillance_get_result_value(gEventResult,
                        MV_SURVEILLANCE_MOVEMENT_NUMBER_OF_REGIONS,