packet: Don't check frames_per_block against negative values