Properly decode last frame

This change allows d2vsource to decode all frames.