lwlibav: Shift the current frame number in order to match DTS.