diff --git a/libs/stfu/stfu.c b/libs/stfu/stfu.c index a2f9760da9..9a2ecbcb72 100644 --- a/libs/stfu/stfu.c +++ b/libs/stfu/stfu.c @@ -652,7 +652,7 @@ stfu_frame_t *stfu_n_read_a_frame(stfu_instance_t *i) for (x = 0; x < i->out_queue->array_len; x++) { if (!i->out_queue->array[x].was_read) { i->cur_ts = i->out_queue->array[x].ts; - i->cur_ts = i->out_queue->array[x].seq; + i->cur_seq = i->out_queue->array[x].seq; break; } if (i->cur_ts == 0) {