demux: update ca.h and add bp [1/1]

PD#SWPL-104770

Problem:
compile test code

Solution:
compile & test

Verify:
verified at t5m

Change-Id: I37842a9afa30b4a6b6012c13561c563e51d0f95c
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
diff --git a/test/am_ca_test/Android.bp b/test/am_ca_test/Android.bp
new file mode 100644
index 0000000..888e6dc
--- /dev/null
+++ b/test/am_ca_test/Android.bp
@@ -0,0 +1,33 @@
+
+
+package {
+    // See: http://go/android-license-faq
+    default_applicable_licenses: [
+        "Android-Apache-2.0",
+    ],
+}
+
+cc_binary {
+    name: "am_ca_test",
+    vendor: true,
+
+    srcs: [
+        "am_ca_test.c",
+        "am_inject.c",
+        "am_dmx.c",
+        "linux_dvb.c",
+        "am_ca.c",
+        "am_key.c",
+    ],
+
+    //LOCAL_MULTILIB := 32
+
+    cflags: [
+        "-DANDROID",
+        "-DAMLINUX",
+    ],
+    //LOCAL_C_INCLUDES :=  $(LOCAL_PATH)/../../android/ndk/include
+
+    shared_libs: ["libc"],
+
+}
diff --git a/test/am_ca_test/ca.h b/test/am_ca_test/ca.h
index d90f8ea..30e66f6 100644
--- a/test/am_ca_test/ca.h
+++ b/test/am_ca_test/ca.h
@@ -211,10 +211,11 @@
  * @ca_index:    return slot index.
  */
 struct ca_sc2_alloc {
-    unsigned int pid;
-    enum ca_sc2_algo_type algo;
-    enum ca_sc2_dsc_type dsc_type;
-    unsigned int ca_index;
+	unsigned int pid;
+	enum ca_sc2_algo_type algo;
+	enum ca_sc2_dsc_type dsc_type;
+	unsigned int ca_index;
+	unsigned char loop;
 };
 
 /**