rtmpproto: Consistently use the right prev_pkt array