# HG changeset patch # User mru # Date 1235950899 0 # Node ID 06fd12c6b7e6bf62ff5c0384901a08fbecf34bca # Parent 574481826df38279f44f5e2b271c3b47f0b946b8 RA144: work around gcc bug/oddity on ARM This should not make any difference, yet some gcc versions on ARM produce incorrect output without this fix. Approved by Vitor. diff -r 574481826df3 -r 06fd12c6b7e6 ra144.c --- a/ra144.c Sun Mar 01 12:11:07 2009 +0000 +++ b/ra144.c Sun Mar 01 23:41:39 2009 +0000 @@ -200,7 +200,7 @@ block = ractx->adapt_cb + BUFFERSIZE - BLOCKSIZE; - add_wav(block, gain, cba_idx, m, buffer_a, + add_wav(block, gain, cba_idx, m, cba_idx? buffer_a: NULL, cb1_vects[cb1_idx], cb2_vects[cb2_idx]); memcpy(ractx->curr_sblock, ractx->curr_sblock + 40,