Mercurial > libavcodec.hg
diff ra144.c @ 9081:06fd12c6b7e6 libavcodec
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.
author | mru |
---|---|
date | Sun, 01 Mar 2009 23:41:39 +0000 |
parents | 2692e0a168cf |
children | 54bc8a2727b0 |
line wrap: on
line diff
--- 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,