[xiph-commits] r11484 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Wed May 31 09:03:37 PDT 2006


Author: jm
Date: 2006-05-31 09:03:35 -0700 (Wed, 31 May 2006)
New Revision: 11484

Modified:
   trunk/speex/libspeex/cb_search_bfin.h
Log:
Fixed Blackfin bug with target_update length was 0.


Modified: trunk/speex/libspeex/cb_search_bfin.h
===================================================================
--- trunk/speex/libspeex/cb_search_bfin.h	2006-05-31 16:00:26 UTC (rev 11483)
+++ trunk/speex/libspeex/cb_search_bfin.h	2006-05-31 16:03:35 UTC (rev 11484)
@@ -84,6 +84,8 @@
 #define OVERRIDE_TARGET_UPDATE
 static inline void target_update(spx_word16_t *t, spx_word16_t g, spx_word16_t *r, int len)
 {
+   if (!len)
+      return;
    __asm__ __volatile__
          (
          "I0 = %0;\n\t"



More information about the commits mailing list