From 65d6826470e984b550ffdec4e4b25e29c8778bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 27 Apr 2015 14:25:47 +0300 Subject: [PATCH] Astyle a cpp file in the android test project This gets rid of indentation with tabs. --- codec/build/android/enc/jni/myjni.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/codec/build/android/enc/jni/myjni.cpp b/codec/build/android/enc/jni/myjni.cpp index 083ff54f..25d57549 100644 --- a/codec/build/android/enc/jni/myjni.cpp +++ b/codec/build/android/enc/jni/myjni.cpp @@ -11,21 +11,21 @@ extern "C" JNIEXPORT void JNICALL Java_com_wels_enc_WelsEncTest_DoEncoderAutoTest (JNIEnv* env, jobject thiz, jstring jsIncfgName, jstring jsInlayerName, jstring jsInyuvName, jstring jsOutbitName) { /**************** Add the native codes/API *****************/ - const char* argv[]={ - (char*)("encConsole.exe"), - (char*) ((*env).GetStringUTFChars (jsIncfgName, NULL)), - (char*)("-org"), - (char*) ((*env).GetStringUTFChars (jsInyuvName, NULL)), - (char*)("-bf"), - (char*) ((*env).GetStringUTFChars (jsOutbitName, NULL)), - (char*)("-numl"), - (char*)("1"), - (char*)("-lconfig"), - (char*)("0"), - (char*) ((*env).GetStringUTFChars (jsInlayerName, NULL)) + const char* argv[] = { + (char*) ("encConsole.exe"), + (char*) ((*env).GetStringUTFChars (jsIncfgName, NULL)), + (char*) ("-org"), + (char*) ((*env).GetStringUTFChars (jsInyuvName, NULL)), + (char*) ("-bf"), + (char*) ((*env).GetStringUTFChars (jsOutbitName, NULL)), + (char*) ("-numl"), + (char*) ("1"), + (char*) ("-lconfig"), + (char*) ("0"), + (char*) ((*env).GetStringUTFChars (jsInlayerName, NULL)) }; LOGI ("Start to run JNI module!+++"); - EncMain(sizeof(argv)/sizeof(argv[0]),(char**)&argv[0]); + EncMain (sizeof (argv) / sizeof (argv[0]), (char**)&argv[0]); LOGI ("End to run JNI module!+++"); }