switch (s->mode) {
case 0:
- top = s->frame[1 + tf - outlink->frame_count];
- bottom = s->frame[1 + bf - outlink->frame_count];
+ top = s->frame[tf - outlink->frame_count + 1];
+ bottom = s->frame[bf - outlink->frame_count + 1];
break;
case 1:
top = s->frame[1 + tf];