ttadec: fix last frame handling when seeking