Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
9080:574481826df3 | 9081:06fd12c6b7e6 |
---|---|
198 memmove(ractx->adapt_cb, ractx->adapt_cb + BLOCKSIZE, | 198 memmove(ractx->adapt_cb, ractx->adapt_cb + BLOCKSIZE, |
199 (BUFFERSIZE - BLOCKSIZE) * sizeof(*ractx->adapt_cb)); | 199 (BUFFERSIZE - BLOCKSIZE) * sizeof(*ractx->adapt_cb)); |
200 | 200 |
201 block = ractx->adapt_cb + BUFFERSIZE - BLOCKSIZE; | 201 block = ractx->adapt_cb + BUFFERSIZE - BLOCKSIZE; |
202 | 202 |
203 add_wav(block, gain, cba_idx, m, buffer_a, | 203 add_wav(block, gain, cba_idx, m, cba_idx? buffer_a: NULL, |
204 cb1_vects[cb1_idx], cb2_vects[cb2_idx]); | 204 cb1_vects[cb1_idx], cb2_vects[cb2_idx]); |
205 | 205 |
206 memcpy(ractx->curr_sblock, ractx->curr_sblock + 40, | 206 memcpy(ractx->curr_sblock, ractx->curr_sblock + 40, |
207 10*sizeof(*ractx->curr_sblock)); | 207 10*sizeof(*ractx->curr_sblock)); |
208 | 208 |