flv: Validate the packet size