summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-03-01 23:41:39 +0000
committerMåns Rullgård <mans@mansr.com>2009-03-01 23:41:39 +0000
commit09096c9fad1b1c5a3acc223c19d1d4aef5e34c8a (patch)
tree55ccda5254026987df9dc283fbd2b96582f31cc0 /libavcodec/ra144.c
parent38ce707e0273e975aa9be02b8992bbe7a5e258d8 (diff)
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. Originally committed as revision 17698 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 1f3c614702..5126b07bdc 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -200,7 +200,7 @@ static void do_output_subblock(RA144Context *ractx, const uint16_t *lpc_coefs,
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,