You don't have to upgrade to gcc 3.4, just open ffv1.c go to line 465
and replace the faulty function with this. It works.
for(p=0; p<3; p++) {
int tmp;
tmp=(h+i-y)%ring_size;
sample[p][i]= sample_buffer[p][tmp]+3;
}