}
err = scanf("%d",&idx);
- if( idx > 0 && idx <= count ) {
+ if( idx > 0 && idx <= count && count <= 30) {
bret = camcordertest_set_attr_int("camera-shutter-speed", array[idx-1]);
}
}
g_print("*******************************************************\n");
g_print("[Camcorder Testsuite] Camcorder Captured(filename=%s)\n", report->recording_filename);
g_print("*******************************************************\n");
-
- SAFE_FREE (report->recording_filename);
- SAFE_FREE (report);
} else {
g_print( "[Camcorder Testsuite] report is NULL.\n" );
}