[SCM] opencore-amr packaging branch, master, updated. debian/0.1-40-g85fa493

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Mon May 18 08:53:50 UTC 2009


The following commit has been merged in the master branch:
commit 57e482afd6c536104fc90a3785af545a65731021
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Mon May 18 03:41:36 2009 -0400

    Fix a compiler warning.
    
    Change OSCL_UNUSED_ARG to (void), which is how it's defined in the opencore
    framework from a file oscl/oscl/osclbase/src/oscl_base_macros.h.

diff --git a/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op.h b/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op.h
index 46f1035..66c7d45 100644
--- a/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op.h
+++ b/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op.h
@@ -276,7 +276,7 @@ extern "C"
     {
         Word16 var_out = 0;
 
-        OSCL_UNUSED_ARG(pOverflow);
+        (void)(pOverflow);
 
         if (var2 < 0)
         {
@@ -328,7 +328,7 @@ extern "C"
     {
         Word32 L_var_out = 0;
 
-        OSCL_UNUSED_ARG(pOverflow);
+        (void)(pOverflow);
 
         if (var2 > 0)
         {
@@ -381,7 +381,7 @@ extern "C"
     {
         Word32 L_var_out = 0;
 
-        OSCL_UNUSED_ARG(pOverflow);
+        (void)(pOverflow);
 
         if (var2 > 0)
         {
diff --git a/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op_c_equivalent.h b/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op_c_equivalent.h
index ddf320a..ff6035c 100644
--- a/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op_c_equivalent.h
+++ b/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/basic_op_c_equivalent.h
@@ -328,7 +328,7 @@ extern "C"
         Word32 L_sum;
         Word32 product32;
 
-        OSCL_UNUSED_ARG(pOverflow);
+        (void)(pOverflow);
         L_product = (Word32) L_var1_hi * L_var2_hi;
 
         if (L_product != (Word32) 0x40000000L)

-- 
opencore-amr packaging



More information about the pkg-multimedia-commits mailing list