lwlibav: Decode to get picture type when indexing ASF.
lwlibav: Shift the current frame number in order to match DTS.